import { ontology } from '@synnaxlabs/client'; import { Flux } from '../flux'; import { List } from '../list'; export declare const useResourceSetSynchronizer: (onSet: (resource: ontology.Resource) => void) => void; export declare const useResourceDeleteSynchronizer: (onDelete: (id: ontology.ID) => void) => void; export declare const useRelationshipSetSynchronizer: (onSet: (relationship: ontology.Relationship) => void) => void; export declare const useRelationshipDeleteSynchronizer: (onDelete: (relationship: ontology.Relationship) => void) => void; type DependentQuery = List.PagerParams & { id?: ontology.ID; }; export declare const createDependentsListHook: (direction: ontology.RelationshipDirection, name: string) => Flux.UseList>; export declare const useListChildren: Flux.UseList>; export type ListQuery = ontology.RetrieveRequest; export declare const useResourceList: Flux.UseList>; export interface MoveChildrenParams { source: ontology.ID; destination: ontology.ID; ids: ontology.ID[]; } export declare const useMoveChildren: Flux.UseUpdate; export type RetrieveChildrenQuery = { [K in keyof ontology.RetrieveOptions]: ontology.RetrieveOptions[K]; } & { id: ontology.ID; }; export declare const useChildren: Flux.Use[]>; type RetrieveResourceQuery = { ids: ontology.ID[]; }; export declare const useResource: Flux.Use[]>; export {}; //# sourceMappingURL=queries.d.ts.map