import { Parameter, ParameterParser, Parser, Route } from '@kitajs/common'; import { ts } from 'ts-json-schema-generator'; /** Traverse each statement of a source file for the given path and yields the result of the provided parser or an error. */ export declare function traverseStatements(program: Pick, parser: Parser, files: string[]): AsyncGenerator; /** Traverse each source file for the given path and yields the result of the provided parser or an error. */ export declare function traverseProviders(program: Pick, parser: Parser, files: string[]): AsyncGenerator, void, undefined>; /** * Traverse each parameter for the given function and yields the result of the provided parser. Errors are thrown * synchronously. */ export declare function traverseParameters(fn: ts.FunctionDeclaration, parser: ParameterParser, route: Route | null): AsyncGenerator<{ param: Parameter; index: number; }, void, unknown>; //# sourceMappingURL=traverser.d.ts.map