/**
 * 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 { ListSelectionConfig } from '../selection';
import type { FunctionInvocationSelect, FunctionInvocationWithRelations, FunctionInvocationFilter, FunctionInvocationOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionInvocationSelect, FunctionInvocationWithRelations, FunctionInvocationFilter, FunctionInvocationOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionInvocationsQueryKey: (variables?: object) => readonly ["functioninvocation", "list", object];
/**
 * Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionInvocationsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFunctionInvocationsQuery<S extends FunctionInvocationSelect, TData = {
    functionInvocations: ConnectionResult<InferSelectResult<FunctionInvocationWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionInvocationFilter, FunctionInvocationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionInvocationSelect>;
} & Omit<UseQueryOptions<{
    functionInvocations: ConnectionResult<InferSelectResult<FunctionInvocationWithRelations, S>>;
}, 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 fetchFunctionInvocationsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFunctionInvocationsQuery<S extends FunctionInvocationSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionInvocationFilter, FunctionInvocationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionInvocationSelect>;
}): Promise<{
    functionInvocations: ConnectionResult<InferSelectResult<FunctionInvocationWithRelations, S>>;
}>;
/**
 * Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string.
 *
 * @example
 * ```ts
 * await prefetchFunctionInvocationsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFunctionInvocationsQuery<S extends FunctionInvocationSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionInvocationFilter, FunctionInvocationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionInvocationSelect>;
}): Promise<void>;
