export declare type GetSourceFileProps = { dir: string; root: string; sourcePath?: string; }; export declare const getSourceFile: (props: GetSourceFileProps) => Promise;