/**
 * Append-only log of limit events for historical reporting and audit
 * @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 { OrgLimitEventSelect, OrgLimitEventWithRelations, OrgLimitEventFilter, OrgLimitEventOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgLimitEventSelect, OrgLimitEventWithRelations, OrgLimitEventFilter, OrgLimitEventOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgLimitEventsQueryKey: (variables?: object) => readonly ["orglimitevent", "list", object];
/**
 * Append-only log of limit events for historical reporting and audit
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgLimitEventsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgLimitEventsQuery<S extends OrgLimitEventSelect, TData = {
    orgLimitEvents: ConnectionResult<InferSelectResult<OrgLimitEventWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgLimitEventFilter, OrgLimitEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitEventSelect>;
} & Omit<UseQueryOptions<{
    orgLimitEvents: ConnectionResult<InferSelectResult<OrgLimitEventWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Append-only log of limit events for historical reporting and audit
 *
 * @example
 * ```ts
 * const data = await fetchOrgLimitEventsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgLimitEventsQuery<S extends OrgLimitEventSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgLimitEventFilter, OrgLimitEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitEventSelect>;
}): Promise<{
    orgLimitEvents: ConnectionResult<InferSelectResult<OrgLimitEventWithRelations, S>>;
}>;
/**
 * Append-only log of limit events for historical reporting and audit
 *
 * @example
 * ```ts
 * await prefetchOrgLimitEventsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgLimitEventsQuery<S extends OrgLimitEventSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgLimitEventFilter, OrgLimitEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitEventSelect>;
}): Promise<void>;
