import { EntityData, EntitySchema, PaginatedPeekResponse, AllCapabilities, EntityRevisionsResponse, GlobalSettings } from '../types/schema';
export declare function useSchema(entityName: string): import("@tanstack/react-query").UseQueryResult<EntitySchema, Error>;
export declare function useAllSchemas(): import("@tanstack/react-query").UseQueryResult<Record<string, EntitySchema>, Error>;
export declare function useCapabilities(): import("@tanstack/react-query").UseQueryResult<AllCapabilities, Error>;
/** Derives global frontend settings from the capabilities response (_settings key). */
export declare function useGlobalSettings(): GlobalSettings;
export declare function useEntity(entityName: string, id: number | undefined): import("@tanstack/react-query").UseQueryResult<EntityData | null, Error>;
export declare function useEntityList(entityName: string): import("@tanstack/react-query").UseQueryResult<import("../lib").PeekEntity[] | undefined, Error>;
export declare function usePaginatedEntityList(entityName: string, pageSize?: number): import("@tanstack/react-query").UseInfiniteQueryResult<import("@tanstack/query-core").InfiniteData<PaginatedPeekResponse, unknown>, Error>;
export declare function useCreateEntity(entityName: string): import("@tanstack/react-query").UseMutationResult<import("../api/client").ApiResponse<EntityData>, Error, Partial<EntityData>, unknown>;
export declare function useUpdateEntity(entityName: string): import("@tanstack/react-query").UseMutationResult<import("../api/client").ApiResponse<EntityData>, Error, Partial<EntityData>, unknown>;
export declare function useDeleteEntity(entityName: string): import("@tanstack/react-query").UseMutationResult<import("../api/client").ApiResponse<EntityData>, Error, number, unknown>;
export declare function useSanityCheck(entityName: string): import("@tanstack/react-query").UseMutationResult<import("../api/client").ApiResponse<{
    message: string;
}>, Error, Partial<EntityData>, unknown>;
export declare function useEntityHistory(entityName: string, id: number | undefined): import("@tanstack/react-query").UseQueryResult<EntityRevisionsResponse | null, Error>;
