/**
 * Join table binding function definitions to API endpoints with per-binding alias and config
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { FunctionApiBindingSelect, FunctionApiBindingWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionApiBindingSelect, FunctionApiBindingWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionApiBindingQueryKey: (id: string | number) => readonly ["functionapibinding", "detail", string | number];
/**
 * Join table binding function definitions to API endpoints with per-binding alias and config
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionApiBindingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useFunctionApiBindingQuery<S extends FunctionApiBindingSelect, TData = {
    functionApiBinding: InferSelectResult<FunctionApiBindingWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionApiBindingSelect>;
} & Omit<UseQueryOptions<{
    functionApiBinding: InferSelectResult<FunctionApiBindingWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Join table binding function definitions to API endpoints with per-binding alias and config
 *
 * @example
 * ```ts
 * const data = await fetchFunctionApiBindingQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchFunctionApiBindingQuery<S extends FunctionApiBindingSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionApiBindingSelect>;
}): Promise<{
    functionApiBinding: InferSelectResult<FunctionApiBindingWithRelations, S> | null;
}>;
/**
 * Join table binding function definitions to API endpoints with per-binding alias and config
 *
 * @example
 * ```ts
 * await prefetchFunctionApiBindingQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchFunctionApiBindingQuery<S extends FunctionApiBindingSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionApiBindingSelect>;
}): Promise<void>;
