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