/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ListSelectionConfig } from '../selection';
import type { OrgLimitCapSelect, OrgLimitCapWithRelations, OrgLimitCapFilter, OrgLimitCapOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgLimitCapSelect, OrgLimitCapWithRelations, OrgLimitCapFilter, OrgLimitCapOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgLimitCapsQueryKey: (variables?: object) => readonly ["orglimitcap", "list", object];
/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgLimitCapsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgLimitCapsQuery<S extends OrgLimitCapSelect, TData = {
    orgLimitCaps: ConnectionResult<InferSelectResult<OrgLimitCapWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgLimitCapFilter, OrgLimitCapOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitCapSelect>;
} & Omit<UseQueryOptions<{
    orgLimitCaps: ConnectionResult<InferSelectResult<OrgLimitCapWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 *
 * @example
 * ```ts
 * const data = await fetchOrgLimitCapsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgLimitCapsQuery<S extends OrgLimitCapSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgLimitCapFilter, OrgLimitCapOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitCapSelect>;
}): Promise<{
    orgLimitCaps: ConnectionResult<InferSelectResult<OrgLimitCapWithRelations, S>>;
}>;
/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 *
 * @example
 * ```ts
 * await prefetchOrgLimitCapsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgLimitCapsQuery<S extends OrgLimitCapSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgLimitCapFilter, OrgLimitCapOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitCapSelect>;
}): Promise<void>;
