export type WorkspaceFileSuggestion = {
    path: string;
};
export type WorkspaceDirectoryEntry = {
    name: string;
    path: string;
    kind: 'directory';
    hasGit: boolean;
    hasHeddleState: boolean;
    hasPackageJson: boolean;
};
export type WorkspaceDirectoryListing = {
    path: string;
    parentPath?: string;
    entries: WorkspaceDirectoryEntry[];
};
export declare class ControlPlaneWorkspaceFilesController {
    static searchFiles(args: {
        workspaceRoot: string;
        query: string;
        limit?: number;
    }): Promise<WorkspaceFileSuggestion[]>;
    private static listFilesystemWorkspaceFiles;
    private static listGitWorkspaceFiles;
    private static findGitRepoRoot;
    private static gitPathspec;
    private static pathContainsDir;
    static browseDirectories(args: {
        path?: string;
        limit?: number;
        includeHidden?: boolean;
    }): Promise<WorkspaceDirectoryListing>;
    private static normalizeQuery;
    private static matchesQuery;
    private static rankMatches;
    private static rankWorkspaceDirectories;
    private static workspaceDirectoryScore;
    private static exists;
    private static defaultBrowseRoot;
    private static parentPathFor;
    private static toWorkspacePath;
}
//# sourceMappingURL=workspace-files.d.ts.map