/**
 * 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 { AppLimitCapSelect, AppLimitCapWithRelations, AppLimitCapFilter, AppLimitCapOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCapSelect, AppLimitCapWithRelations, AppLimitCapFilter, AppLimitCapOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLimitCapsQueryKey: (variables?: object) => readonly ["applimitcap", "list", object];
/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppLimitCapsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppLimitCapsQuery<S extends AppLimitCapSelect, TData = {
    appLimitCaps: ConnectionResult<InferSelectResult<AppLimitCapWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitCapFilter, AppLimitCapOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitCapSelect>;
} & Omit<UseQueryOptions<{
    appLimitCaps: ConnectionResult<InferSelectResult<AppLimitCapWithRelations, 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 fetchAppLimitCapsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppLimitCapsQuery<S extends AppLimitCapSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitCapFilter, AppLimitCapOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitCapSelect>;
}): Promise<{
    appLimitCaps: ConnectionResult<InferSelectResult<AppLimitCapWithRelations, S>>;
}>;
/**
 * Per-entity cap overrides. Allows specific orgs/entities to have different cap values than the scope default.
 *
 * @example
 * ```ts
 * await prefetchAppLimitCapsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppLimitCapsQuery<S extends AppLimitCapSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitCapFilter, AppLimitCapOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitCapSelect>;
}): Promise<void>;
