import type { FolderItem, BrowseResult, ValidateResult, FolderSuggestion } from "shared/types/index.js";
export type { FolderItem, BrowseResult, ValidateResult, FolderSuggestion };
export interface RecentFolder extends FolderSuggestion {
    type: "recent";
    lastUsed: string;
    chatCount: number;
}
export declare class FolderService {
    private cache;
    private readonly CACHE_TTL;
    /**
     * Browse directories and files in the given path
     */
    browseDirectory(path: string, showHidden?: boolean, limit?: number): Promise<BrowseResult>;
    /**
     * Validate if a path exists and is accessible
     */
    validatePath(path: string): Promise<ValidateResult>;
    /**
     * Get recently used directories derived from chat history.
     * Scans ~/.claude/projects/ to find directories that have been used for chats,
     * sorted by most recent activity.
     */
    getRecentFolders(limit?: number): RecentFolder[];
    /**
     * Get suggested directories for quick access
     */
    getSuggestions(): FolderSuggestion[];
    /**
     * Clear the cache (useful for testing or manual refresh)
     */
    clearCache(): void;
}
export declare const folderService: FolderService;
//# sourceMappingURL=folder-service.d.ts.map