/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ResourceEventSelect, ResourceEventWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceEventSelect, ResourceEventWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const resourceEventQueryKey: (id: string | number) => readonly ["resourceevent", "detail", string | number];
/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useResourceEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useResourceEventQuery<S extends ResourceEventSelect, TData = {
    resourceEvent: InferSelectResult<ResourceEventWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourceEventSelect>;
} & Omit<UseQueryOptions<{
    resourceEvent: InferSelectResult<ResourceEventWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 *
 * @example
 * ```ts
 * const data = await fetchResourceEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchResourceEventQuery<S extends ResourceEventSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourceEventSelect>;
}): Promise<{
    resourceEvent: InferSelectResult<ResourceEventWithRelations, S> | null;
}>;
/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 *
 * @example
 * ```ts
 * await prefetchResourceEventQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchResourceEventQuery<S extends ResourceEventSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourceEventSelect>;
}): Promise<void>;
