import type { SearchCalendarView, SearchCondition, SearchType, SearchView } from '../../common/search.ts';
export interface SearchDomainRecords {
    ":search": SearchRecord;
    ":search?": SearchRecordProvided;
    /** legacy */
    ":search.conditions": SearchDomainConditionsRecord;
    /** legacy */
    ":search.visibleColumnKeys": SearchDomainVisibleColumnKeysRecord;
}
export interface SearchRecord {
    type?: SearchType;
    sort?: Array<{
        [key: string]: "asc" | "desc";
    }>;
    showDefault?: boolean;
    showDeleted?: boolean;
    showHidden?: boolean;
    view?: SearchView | null;
    conditions?: SearchCondition[];
    visibleColumnKeys?: null | string[];
    connectionId?: string | null;
    calendar?: {
        view?: SearchCalendarView | null;
        dateAccessor?: string | null;
        agenda?: boolean;
    };
    refreshInterval?: number;
    color?: string;
    icon?: string;
}
export interface SearchRecordProvided {
    hits?: string[];
    total?: number;
    relation?: string;
    error?: string;
}
/** legacy */
export interface SearchDomainConditionsRecord {
    value?: string[];
}
/** legacy */
export interface SearchDomainVisibleColumnKeysRecord {
    value?: string[];
}
