import { DateRangeSelectAroundUnit } from '@prefecthq/prefect-design'; export type SavedSearchResponse = { id: string; created?: string; updated?: string; name: string; filters?: SavedSearchFilterResponse[]; }; export type DateRangeSpanResponse = { type: 'span'; seconds: number; }; export declare function isDateRangeSpanResponse(value: unknown): value is DateRangeSpanResponse; export type DateRangeRangeResponse = { type: 'range'; startDate: string; endDate: string; }; export declare function isDateRangeRangeResponse(value: unknown): value is DateRangeRangeResponse; export type DateRangePeriodResponse = { type: 'period'; period: 'Today'; }; export declare function isDateRangePeriodResponse(value: unknown): value is DateRangePeriodResponse; export type DateRangeAroundResponse = { type: 'around'; date: string; quantity: number; unit: DateRangeSelectAroundUnit; }; export declare function isDateRangeAroundResponse(value: unknown): value is DateRangeAroundResponse; export type DateRangeResponse = DateRangeSpanResponse | DateRangeRangeResponse | DateRangePeriodResponse | DateRangeAroundResponse; export declare function isDateRangeResponse(value: unknown): value is DateRangeResponse; export type FilterResponseValue = string | string[] | DateRangeResponse; export interface SavedSearchFilterResponse { object?: string; property?: string; type?: string; operation?: string; value?: FilterResponseValue; } export type SavedSearchCreateRequest = { name?: string; filters?: SavedSearchFilterResponse[]; };