/**
 * Tracks per-actor usage counts against configurable maximum limits
 * @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 { AppLimitSelect, AppLimitWithRelations, AppLimitFilter, AppLimitOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitSelect, AppLimitWithRelations, AppLimitFilter, AppLimitOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLimitsQueryKey: (variables?: object) => readonly ["applimit", "list", object];
/**
 * Tracks per-actor usage counts against configurable maximum limits
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppLimitsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppLimitsQuery<S extends AppLimitSelect, TData = {
    appLimits: ConnectionResult<InferSelectResult<AppLimitWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitFilter, AppLimitOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitSelect>;
} & Omit<UseQueryOptions<{
    appLimits: ConnectionResult<InferSelectResult<AppLimitWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Tracks per-actor usage counts against configurable maximum limits
 *
 * @example
 * ```ts
 * const data = await fetchAppLimitsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppLimitsQuery<S extends AppLimitSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitFilter, AppLimitOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitSelect>;
}): Promise<{
    appLimits: ConnectionResult<InferSelectResult<AppLimitWithRelations, S>>;
}>;
/**
 * Tracks per-actor usage counts against configurable maximum limits
 *
 * @example
 * ```ts
 * await prefetchAppLimitsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppLimitsQuery<S extends AppLimitSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppLimitFilter, AppLimitOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitSelect>;
}): Promise<void>;
