interface Rules { field: string; operator: "is" | "is not" | "is blank" | "is not blank" | "contains" | "does not contain" | "starts with" | "ends with" | "is any" | "is during the current" | "is during the previous" | "is during the next" | "is before the previous" | "is after the next" | "is before" | "is after" | "is today" | "is today or before" | "is today or after" | "is before today" | "is after today" | "is before current time" | "is after current time" | "higher than" | "lower than" | "near"; value?: any; range?: number; type?: string; } interface Filters { match: "and" | "or"; rules: Rules[]; } interface Sort { field: string; order: "asc" | "desc"; } type contextProp = `${string}_id`; interface GetSettings { sceneKey: string; viewKey: string; recordId?: string; filters?: Filters; sort?: Sort[] | Sort; /** @deprecated Ignored. Retries are always on (up to 3 attempts) and cannot be configured. */ retry?: boolean; page?: number; recordLimit?: number; rowsPerPage?: number; cb?: (data: any) => any; isPublic?: boolean; context?: Record; host?: string; subdomain?: string; } interface PutSettings { sceneKey: string; viewKey: string; recordId: string; payload: any; /** @deprecated Ignored. Retries are always on (up to 3 attempts) and cannot be configured. */ retry?: boolean; isPublic?: boolean; host?: string; subdomain?: string; } interface PostSettings { sceneKey: string; viewKey: string; payload: any; /** @deprecated Ignored. Retries are always on (up to 3 attempts) and cannot be configured. */ retry?: boolean; isPublic?: boolean; host?: string; subdomain?: string; } interface DeleteSettings { sceneKey: string; viewKey: string; recordId: string; /** @deprecated Ignored. Retries are always on (up to 3 attempts) and cannot be configured. */ retry?: boolean; isPublic?: boolean; host?: string; subdomain?: string; } declare function get(settings: GetSettings): any; declare function post(settings: PostSettings): Promise; declare function deletion(settings: DeleteSettings): Promise; declare function put(settings: PutSettings): Promise; export { deletion, get, post, put }; export type { DeleteSettings, Filters, GetSettings, PostSettings, PutSettings, Rules, Sort };