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