/**
 * Deployment lifecycle events — audit log of provisioning, scaling, 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 { FunctionDeploymentEventSelect, FunctionDeploymentEventWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionDeploymentEventSelect, FunctionDeploymentEventWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionDeploymentEventQueryKey: (id: string | number) => readonly ["functiondeploymentevent", "detail", string | number];
/**
 * Deployment lifecycle events — audit log of provisioning, scaling, and failure events
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionDeploymentEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useFunctionDeploymentEventQuery<S extends FunctionDeploymentEventSelect, TData = {
    functionDeploymentEvent: InferSelectResult<FunctionDeploymentEventWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionDeploymentEventSelect>;
} & Omit<UseQueryOptions<{
    functionDeploymentEvent: InferSelectResult<FunctionDeploymentEventWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Deployment lifecycle events — audit log of provisioning, scaling, and failure events
 *
 * @example
 * ```ts
 * const data = await fetchFunctionDeploymentEventQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchFunctionDeploymentEventQuery<S extends FunctionDeploymentEventSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionDeploymentEventSelect>;
}): Promise<{
    functionDeploymentEvent: InferSelectResult<FunctionDeploymentEventWithRelations, S> | null;
}>;
/**
 * Deployment lifecycle events — audit log of provisioning, scaling, and failure events
 *
 * @example
 * ```ts
 * await prefetchFunctionDeploymentEventQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchFunctionDeploymentEventQuery<S extends FunctionDeploymentEventSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionDeploymentEventSelect>;
}): Promise<void>;
