export type RootSource = 'explicit' | 'binding' | 'git' | 'git-marker' | 'directory'; export interface DetectedRepositoryRoot { root: string; source: RootSource; } export interface DetectRepositoryRootOptions { cwd?: string; root?: string; allowDirectory?: boolean; } export declare function canonicalDirectory(directory: string): string; export declare function detectRepositoryRoot(options?: DetectRepositoryRootOptions): DetectedRepositoryRoot; //# sourceMappingURL=detect-root.d.ts.map