declare function* test(): void; declare module 'x' { export default function* test(): void }