import ts from 'typescript'; import { type FlowStepParseResult } from 'pipework-flow-parser'; export type FlowStepSiteShape = { readonly kind: 'function-declaration'; readonly name: string; } | { readonly kind: 'variable-declaration'; readonly name: string; } | { readonly kind: 'rejected'; readonly reason: string; }; export interface FlowStepSite { readonly statement: ts.Statement; readonly shape: FlowStepSiteShape; readonly annotation: Exclude; /** 1-based line where the statement begins. */ readonly line: number; } /** Returns every `@flow_step` site in `sourceFile`, in source order. */ export declare function findFlowStepSites(sourceFile: ts.SourceFile): readonly FlowStepSite[]; //# sourceMappingURL=find-flow-step-sites.d.ts.map