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