/**
 * 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 { ListSelectionConfig } from '../selection';
import type { PlatformResourceEventSelect, PlatformResourceEventWithRelations, PlatformResourceEventFilter, PlatformResourceEventOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceEventSelect, PlatformResourceEventWithRelations, PlatformResourceEventFilter, PlatformResourceEventOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformResourceEventsQueryKey: (variables?: object) => readonly ["platformresourceevent", "list", object];
/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformResourceEventsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformResourceEventsQuery<S extends PlatformResourceEventSelect, TData = {
    platformResourceEvents: ConnectionResult<InferSelectResult<PlatformResourceEventWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourceEventFilter, PlatformResourceEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceEventSelect>;
} & Omit<UseQueryOptions<{
    platformResourceEvents: ConnectionResult<InferSelectResult<PlatformResourceEventWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 *
 * @example
 * ```ts
 * const data = await fetchPlatformResourceEventsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformResourceEventsQuery<S extends PlatformResourceEventSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourceEventFilter, PlatformResourceEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceEventSelect>;
}): Promise<{
    platformResourceEvents: ConnectionResult<InferSelectResult<PlatformResourceEventWithRelations, S>>;
}>;
/**
 * Resource lifecycle events — audit log of provisioning, updates, and failure events
 *
 * @example
 * ```ts
 * await prefetchPlatformResourceEventsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformResourceEventsQuery<S extends PlatformResourceEventSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourceEventFilter, PlatformResourceEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceEventSelect>;
}): Promise<void>;
