/**
 * 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 { AppLimitEventSelect, AppLimitEventWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitEventSelect, AppLimitEventWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appLimitEventQueryKey: (id: string | number) => readonly ["applimitevent", "detail", string | number];
/**
 * Append-only log of limit events for historical reporting and audit
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppLimitEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAppLimitEventQuery<S extends AppLimitEventSelect, TData = {
    appLimitEvent: InferSelectResult<AppLimitEventWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
} & Omit<UseQueryOptions<{
    appLimitEvent: InferSelectResult<AppLimitEventWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Append-only log of limit events for historical reporting and audit
 *
 * @example
 * ```ts
 * const data = await fetchAppLimitEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAppLimitEventQuery<S extends AppLimitEventSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
}): Promise<{
    appLimitEvent: InferSelectResult<AppLimitEventWithRelations, S> | null;
}>;
/**
 * Append-only log of limit events for historical reporting and audit
 *
 * @example
 * ```ts
 * await prefetchAppLimitEventQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAppLimitEventQuery<S extends AppLimitEventSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
}): Promise<void>;
