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