/**
 * 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 { OrgFunctionInvocationSelect, OrgFunctionInvocationWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgFunctionInvocationSelect, OrgFunctionInvocationWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgFunctionInvocationQueryKey: (id: string | number) => readonly ["orgfunctioninvocation", "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 } = useOrgFunctionInvocationQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useOrgFunctionInvocationQuery<S extends OrgFunctionInvocationSelect, TData = {
    orgFunctionInvocation: InferSelectResult<OrgFunctionInvocationWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgFunctionInvocationSelect>;
} & Omit<UseQueryOptions<{
    orgFunctionInvocation: InferSelectResult<OrgFunctionInvocationWithRelations, 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 fetchOrgFunctionInvocationQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchOrgFunctionInvocationQuery<S extends OrgFunctionInvocationSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgFunctionInvocationSelect>;
}): Promise<{
    orgFunctionInvocation: InferSelectResult<OrgFunctionInvocationWithRelations, S> | null;
}>;
/**
 * Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string.
 *
 * @example
 * ```ts
 * await prefetchOrgFunctionInvocationQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchOrgFunctionInvocationQuery<S extends OrgFunctionInvocationSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgFunctionInvocationSelect>;
}): Promise<void>;
