/**
 * 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 { OrgFunctionInvocationSelect, OrgFunctionInvocationWithRelations, OrgFunctionInvocationFilter, OrgFunctionInvocationOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgFunctionInvocationSelect, OrgFunctionInvocationWithRelations, OrgFunctionInvocationFilter, OrgFunctionInvocationOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgFunctionInvocationsQueryKey: (variables?: object) => readonly ["orgfunctioninvocation", "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 } = useOrgFunctionInvocationsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgFunctionInvocationsQuery<S extends OrgFunctionInvocationSelect, TData = {
    orgFunctionInvocations: ConnectionResult<InferSelectResult<OrgFunctionInvocationWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgFunctionInvocationFilter, OrgFunctionInvocationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgFunctionInvocationSelect>;
} & Omit<UseQueryOptions<{
    orgFunctionInvocations: ConnectionResult<InferSelectResult<OrgFunctionInvocationWithRelations, 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 fetchOrgFunctionInvocationsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgFunctionInvocationsQuery<S extends OrgFunctionInvocationSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgFunctionInvocationFilter, OrgFunctionInvocationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgFunctionInvocationSelect>;
}): Promise<{
    orgFunctionInvocations: ConnectionResult<InferSelectResult<OrgFunctionInvocationWithRelations, S>>;
}>;
/**
 * Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string.
 *
 * @example
 * ```ts
 * await prefetchOrgFunctionInvocationsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgFunctionInvocationsQuery<S extends OrgFunctionInvocationSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgFunctionInvocationFilter, OrgFunctionInvocationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgFunctionInvocationSelect>;
}): Promise<void>;
