/**
 * Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { FunctionInvocationSelect, FunctionInvocationWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionInvocationSelect, FunctionInvocationWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionInvocationQueryKey: (id: string | number) => readonly ["functioninvocation", "detail", string | number];
/**
 * Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionInvocationQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useFunctionInvocationQuery<S extends FunctionInvocationSelect, TData = {
    functionInvocation: InferSelectResult<FunctionInvocationWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionInvocationSelect>;
} & Omit<UseQueryOptions<{
    functionInvocation: InferSelectResult<FunctionInvocationWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string.
 *
 * @example
 * ```ts
 * const data = await fetchFunctionInvocationQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchFunctionInvocationQuery<S extends FunctionInvocationSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionInvocationSelect>;
}): Promise<{
    functionInvocation: InferSelectResult<FunctionInvocationWithRelations, S> | null;
}>;
/**
 * Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string.
 *
 * @example
 * ```ts
 * await prefetchFunctionInvocationQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchFunctionInvocationQuery<S extends FunctionInvocationSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionInvocationSelect>;
}): Promise<void>;
