/**
 * 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 { ListSelectionConfig } from '../selection';
import type { FunctionDefinitionSelect, FunctionDefinitionWithRelations, FunctionDefinitionFilter, FunctionDefinitionOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionDefinitionSelect, FunctionDefinitionWithRelations, FunctionDefinitionFilter, FunctionDefinitionOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionDefinitionsQueryKey: (variables?: object) => readonly ["functiondefinition", "list", object];
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionDefinitionsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFunctionDefinitionsQuery<S extends FunctionDefinitionSelect, TData = {
    functionDefinitions: ConnectionResult<InferSelectResult<FunctionDefinitionWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionDefinitionFilter, FunctionDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionDefinitionSelect>;
} & Omit<UseQueryOptions<{
    functionDefinitions: ConnectionResult<InferSelectResult<FunctionDefinitionWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```ts
 * const data = await fetchFunctionDefinitionsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFunctionDefinitionsQuery<S extends FunctionDefinitionSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionDefinitionFilter, FunctionDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionDefinitionSelect>;
}): Promise<{
    functionDefinitions: ConnectionResult<InferSelectResult<FunctionDefinitionWithRelations, S>>;
}>;
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```ts
 * await prefetchFunctionDefinitionsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFunctionDefinitionsQuery<S extends FunctionDefinitionSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionDefinitionFilter, FunctionDefinitionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionDefinitionSelect>;
}): Promise<void>;
