export interface WorkspaceFileLookupResult {
    /** alphabetically-sorted other candidates found in the same directory, if multiple */
    alternates?: string[];
    path: string;
    source: 'active-editor' | 'explicit' | 'walk-up';
}
/**
 * Walk upward from `startDir` looking for a directory that contains at least
 * one `*.code-workspace` file. Prefers a file whose folders include `startDir`.
 */
export declare function findCodeWorkspaceFile(startDir: string): WorkspaceFileLookupResult | undefined;
export declare function resolveCodeWorkspaceFile(explicit: string | undefined, startDir: string): WorkspaceFileLookupResult | undefined;
//# sourceMappingURL=findWorkspaceFile.d.ts.map