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