/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { FunctionDefinitionSelect, FunctionDefinitionWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionDefinitionSelect, FunctionDefinitionWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionDefinitionQueryKey: (id: string | number) => readonly ["functiondefinition", "detail", string | number];
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionDefinitionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useFunctionDefinitionQuery<S extends FunctionDefinitionSelect, TData = {
    functionDefinition: InferSelectResult<FunctionDefinitionWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionDefinitionSelect>;
} & Omit<UseQueryOptions<{
    functionDefinition: InferSelectResult<FunctionDefinitionWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```ts
 * const data = await fetchFunctionDefinitionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchFunctionDefinitionQuery<S extends FunctionDefinitionSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionDefinitionSelect>;
}): Promise<{
    functionDefinition: InferSelectResult<FunctionDefinitionWithRelations, S> | null;
}>;
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```ts
 * await prefetchFunctionDefinitionQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchFunctionDefinitionQuery<S extends FunctionDefinitionSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionDefinitionSelect>;
}): Promise<void>;
