export type InjectImportsOptions = { /** * Modules whose `defineWorkflow` export (named or via `import * as`) is * recognised, so aliased imports (`import { defineWorkflow as dw }`) resolve. * Defaults to the CDK + SDK entry points. The bare name `defineWorkflow` is * always matched too, regardless of where it's imported from — resource files * commonly import it via a relative path to source. */ modules?: string[]; /** Escape hatch: extra identifier names to treat as `defineWorkflow`. */ extraCalleeNames?: string[]; }; /** * Rewrite `defineWorkflow(...)` call sites in `source` to inject an `imports` map * built from each body's free-but-outer-bound identifiers. Returns the * transformed source (unchanged if there's nothing to inject). */ export declare function injectImports(source: string, options?: InjectImportsOptions): string; //# sourceMappingURL=injectImports.d.ts.map