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