import { label, ontology, status, TimeStamp } from '@synnaxlabs/client'; import { default as z } from 'zod'; import { Flux } from '../flux'; export type ListParams = status.MultiRetrieveParams; export declare const useList: Flux.UseList<{ keys?: string[] | undefined; searchTerm?: string | undefined; offset?: number | undefined; limit?: number | undefined; includeLabels?: boolean | undefined; hasLabels?: string[] | undefined; variants?: string[] | undefined; ignoreNotFoundError?: boolean | undefined; }, string, { key: status.Key; name: string; variant: "success" | "error" | "info" | "warning" | "loading" | "disabled"; message: string; description: string; time: TimeStamp; labels?: label.Label[]; }>; export declare const useDelete: Flux.UseUpdate; export interface SetParams { statuses: status.New | status.New[]; parent?: ontology.ID; } export declare const useSet: Flux.UseUpdate; export type RetrieveQuery = status.SingleRetrieveParams; export declare const createRetrieve: (detailsSchema?: DetailsSchema) => Flux.CreateRetrieveReturn<{ key: string; includeLabels?: boolean | undefined; }, status.Status>>; export type RetrieveMultipleQuery = { keys: status.Key[]; }; export declare const useMultiple: Flux.Use, useResultMultiple: Flux.UseResult; export declare const use: Flux.Use<{ key: string; includeLabels?: boolean | undefined; }, { key: status.Key; name: string; variant: "success" | "error" | "info" | "warning" | "loading" | "disabled"; message: string; description: string; time: TimeStamp; labels?: label.Label[]; }>, useResult: Flux.UseResult<{ key: string; includeLabels?: boolean | undefined; }, { key: status.Key; name: string; variant: "success" | "error" | "info" | "warning" | "loading" | "disabled"; message: string; description: string; time: TimeStamp; labels?: label.Label[]; }>; export declare const useSetSynchronizer: (onSet: (status: status.Status) => void) => void; export declare const useDeleteSynchronizer: (onDelete: (key: status.Key) => void) => void; export declare const formSchema: z.ZodObject<{ message: z.ZodString; key: z.ZodDefault; description: z.ZodDefault; details: z.ZodOptional; name: z.ZodDefault; variant: z.ZodEnum<{ error: "error"; success: "success"; info: "info"; warning: "warning"; loading: "loading"; disabled: "disabled"; }>; time: z.ZodDefault; labels: z.ZodOptional>; }, z.core.$strip>; export declare const useForm: Flux.UseForm<{ key: string; includeLabels?: boolean | undefined; }, z.ZodObject<{ message: z.ZodString; key: z.ZodDefault; description: z.ZodDefault; details: z.ZodOptional; name: z.ZodDefault; variant: z.ZodEnum<{ error: "error"; success: "success"; info: "info"; warning: "warning"; loading: "loading"; disabled: "disabled"; }>; time: z.ZodDefault; labels: z.ZodOptional>; }, z.core.$strip>>; export interface RenameParams extends Pick { } export declare const useRename: Flux.UseUpdate; //# sourceMappingURL=queries.d.ts.map