export interface ChatSearchFilters {
    folder: string;
    grep?: string;
    gitBranch?: string;
    agentAlias?: string;
    triggered?: boolean;
    updatedAfter?: string;
    updatedBefore?: string;
    sort?: "updated" | "created";
    limit?: number;
}
export interface ChatSearchResult {
    chatId: string;
    sessionId: string;
    folder: string;
    repoFolder: string;
    isWorktree: boolean;
    gitBranch: string | null;
    agentAlias: string | null;
    triggered: boolean;
    createdAt: string;
    updatedAt: string;
}
export interface ChatSearchResponse {
    chats: ChatSearchResult[];
    total: number;
}
export declare function searchChats(filters: ChatSearchFilters): ChatSearchResponse;
//# sourceMappingURL=chat-search.d.ts.map