/**
 * 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 { NamespaceEventSelect, NamespaceEventWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { NamespaceEventSelect, NamespaceEventWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const namespaceEventQueryKey: (id: string | number) => readonly ["namespaceevent", "detail", string | number];
/**
 * Namespace lifecycle events — audit log of creation, activation, deactivation, label changes
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useNamespaceEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useNamespaceEventQuery<S extends NamespaceEventSelect, TData = {
    namespaceEvent: InferSelectResult<NamespaceEventWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, NamespaceEventSelect>;
} & Omit<UseQueryOptions<{
    namespaceEvent: InferSelectResult<NamespaceEventWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Namespace lifecycle events — audit log of creation, activation, deactivation, label changes
 *
 * @example
 * ```ts
 * const data = await fetchNamespaceEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchNamespaceEventQuery<S extends NamespaceEventSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, NamespaceEventSelect>;
}): Promise<{
    namespaceEvent: InferSelectResult<NamespaceEventWithRelations, S> | null;
}>;
/**
 * Namespace lifecycle events — audit log of creation, activation, deactivation, label changes
 *
 * @example
 * ```ts
 * await prefetchNamespaceEventQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchNamespaceEventQuery<S extends NamespaceEventSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, NamespaceEventSelect>;
}): Promise<void>;
