/**
 * Function deployment bindings — ties a handler image to a namespace for Knative provisioning and routing (one row per handler image per namespace)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { FunctionDeploymentSelect, FunctionDeploymentWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionDeploymentSelect, FunctionDeploymentWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionDeploymentQueryKey: (id: string | number) => readonly ["functiondeployment", "detail", string | number];
/**
 * Function deployment bindings — ties a handler image to a namespace for Knative provisioning and routing (one row per handler image per namespace)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionDeploymentQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useFunctionDeploymentQuery<S extends FunctionDeploymentSelect, TData = {
    functionDeployment: InferSelectResult<FunctionDeploymentWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionDeploymentSelect>;
} & Omit<UseQueryOptions<{
    functionDeployment: InferSelectResult<FunctionDeploymentWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Function deployment bindings — ties a handler image to a namespace for Knative provisioning and routing (one row per handler image per namespace)
 *
 * @example
 * ```ts
 * const data = await fetchFunctionDeploymentQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchFunctionDeploymentQuery<S extends FunctionDeploymentSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionDeploymentSelect>;
}): Promise<{
    functionDeployment: InferSelectResult<FunctionDeploymentWithRelations, S> | null;
}>;
/**
 * Function deployment bindings — ties a handler image to a namespace for Knative provisioning and routing (one row per handler image per namespace)
 *
 * @example
 * ```ts
 * await prefetchFunctionDeploymentQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchFunctionDeploymentQuery<S extends FunctionDeploymentSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionDeploymentSelect>;
}): Promise<void>;
