/**
 * 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 { ListSelectionConfig } from '../selection';
import type { FunctionDeploymentSelect, FunctionDeploymentWithRelations, FunctionDeploymentFilter, FunctionDeploymentOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionDeploymentSelect, FunctionDeploymentWithRelations, FunctionDeploymentFilter, FunctionDeploymentOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionDeploymentsQueryKey: (variables?: object) => readonly ["functiondeployment", "list", object];
/**
 * 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 } = useFunctionDeploymentsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFunctionDeploymentsQuery<S extends FunctionDeploymentSelect, TData = {
    functionDeployments: ConnectionResult<InferSelectResult<FunctionDeploymentWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionDeploymentFilter, FunctionDeploymentOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionDeploymentSelect>;
} & Omit<UseQueryOptions<{
    functionDeployments: ConnectionResult<InferSelectResult<FunctionDeploymentWithRelations, S>>;
}, 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 fetchFunctionDeploymentsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFunctionDeploymentsQuery<S extends FunctionDeploymentSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionDeploymentFilter, FunctionDeploymentOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionDeploymentSelect>;
}): Promise<{
    functionDeployments: ConnectionResult<InferSelectResult<FunctionDeploymentWithRelations, S>>;
}>;
/**
 * 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 prefetchFunctionDeploymentsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFunctionDeploymentsQuery<S extends FunctionDeploymentSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionDeploymentFilter, FunctionDeploymentOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionDeploymentSelect>;
}): Promise<void>;
