/**
 * 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 { PlatformResourceEventSelect, PlatformResourceEventWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceEventSelect, PlatformResourceEventWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformResourceEventQueryKey: (id: string | number) => readonly ["platformresourceevent", "detail", string | number];
/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformResourceEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformResourceEventQuery<S extends PlatformResourceEventSelect, TData = {
    platformResourceEvent: InferSelectResult<PlatformResourceEventWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceEventSelect>;
} & Omit<UseQueryOptions<{
    platformResourceEvent: InferSelectResult<PlatformResourceEventWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 *
 * @example
 * ```ts
 * const data = await fetchPlatformResourceEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformResourceEventQuery<S extends PlatformResourceEventSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceEventSelect>;
}): Promise<{
    platformResourceEvent: InferSelectResult<PlatformResourceEventWithRelations, S> | null;
}>;
/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 *
 * @example
 * ```ts
 * await prefetchPlatformResourceEventQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformResourceEventQuery<S extends PlatformResourceEventSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceEventSelect>;
}): Promise<void>;
