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