/**
 * Namespace lifecycle events — audit log of creation, activation, deactivation, label changes
 * @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 { PlatformNamespaceEventSelect, PlatformNamespaceEventWithRelations, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformNamespaceEventSelect, PlatformNamespaceEventWithRelations, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformNamespaceEventsQueryKey: (variables?: object) => readonly ["platformnamespaceevent", "list", object];
/**
 * Namespace lifecycle events — audit log of creation, activation, deactivation, label changes
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformNamespaceEventsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformNamespaceEventsQuery<S extends PlatformNamespaceEventSelect, TData = {
    platformNamespaceEvents: ConnectionResult<InferSelectResult<PlatformNamespaceEventWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformNamespaceEventSelect>;
} & Omit<UseQueryOptions<{
    platformNamespaceEvents: ConnectionResult<InferSelectResult<PlatformNamespaceEventWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Namespace lifecycle events — audit log of creation, activation, deactivation, label changes
 *
 * @example
 * ```ts
 * const data = await fetchPlatformNamespaceEventsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformNamespaceEventsQuery<S extends PlatformNamespaceEventSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformNamespaceEventSelect>;
}): Promise<{
    platformNamespaceEvents: ConnectionResult<InferSelectResult<PlatformNamespaceEventWithRelations, S>>;
}>;
/**
 * Namespace lifecycle events — audit log of creation, activation, deactivation, label changes
 *
 * @example
 * ```ts
 * await prefetchPlatformNamespaceEventsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformNamespaceEventsQuery<S extends PlatformNamespaceEventSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformNamespaceEventSelect>;
}): Promise<void>;
