import type { PromptSource } from '@pupt/lib'; /** * Recursively scan a directory for .prompt files and return * one PromptSource per file. * * This handles several gaps in pupt-lib's LocalPromptSource: * 1. Recursive subdirectory scanning * 2. JSX comment stripping at top of file * 3. Neutralizing {inputs.xxx} references (so they don't throw ReferenceError) * 4. Per-file error isolation (each file is its own module entry) * * Files are returned as .prompt so pupt-lib handles all preprocessing * (imports, fragment wrapping, Babel transform, fragment unwrapping). */ export declare function scanLocalPromptDir(dirPath: string): Promise; //# sourceMappingURL=pupt-prompt-source.d.ts.map