/**
 * Origin-file discovery and path conversion. Pure domain — no UI, no
 * prompts, no logging. Side effects limited to node:fs.
 *
 * The .origin convention mirrors src/generator/engine/file-writer.ts:
 *   path.replace(/\.(?=[^.]*$)/, '.origin.')
 * which inserts `.origin` immediately before the final extension segment
 * (e.g. `foo.ts` → `foo.origin.ts`; `bar.module.ts` → `bar.module.origin.ts`).
 */
export interface OriginEntry {
    current: string;
    origin: string;
}
export declare function toOriginPath(currentPath: string): string;
export declare function toCurrentPath(originPath: string): string;
export declare function isOriginPath(p: string): boolean;
export declare function discoverOrigins(pathspec?: string, baseDir?: string): OriginEntry[];
