/**
 * 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 { OrgLimitCapSelect, OrgLimitCapWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgLimitCapSelect, OrgLimitCapWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgLimitCapQueryKey: (id: string | number) => readonly ["orglimitcap", "detail", string | number];
/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgLimitCapQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useOrgLimitCapQuery<S extends OrgLimitCapSelect, TData = {
    orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgLimitCapSelect>;
} & Omit<UseQueryOptions<{
    orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S> | null;
}, 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 fetchOrgLimitCapQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchOrgLimitCapQuery<S extends OrgLimitCapSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgLimitCapSelect>;
}): Promise<{
    orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S> | null;
}>;
/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 *
 * @example
 * ```ts
 * await prefetchOrgLimitCapQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchOrgLimitCapQuery<S extends OrgLimitCapSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgLimitCapSelect>;
}): Promise<void>;
