/**
 * Ephemeral execution state for flow graph evaluation
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { FunctionGraphExecutionSelect, FunctionGraphExecutionWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphExecutionSelect, FunctionGraphExecutionWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionGraphExecutionQueryKey: (id: string | number) => readonly ["functiongraphexecution", "detail", string | number];
/**
 * Ephemeral execution state for flow graph evaluation
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionGraphExecutionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useFunctionGraphExecutionQuery<S extends FunctionGraphExecutionSelect, TData = {
    functionGraphExecution: InferSelectResult<FunctionGraphExecutionWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionSelect>;
} & Omit<UseQueryOptions<{
    functionGraphExecution: InferSelectResult<FunctionGraphExecutionWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Ephemeral execution state for flow graph evaluation
 *
 * @example
 * ```ts
 * const data = await fetchFunctionGraphExecutionQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchFunctionGraphExecutionQuery<S extends FunctionGraphExecutionSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionSelect>;
}): Promise<{
    functionGraphExecution: InferSelectResult<FunctionGraphExecutionWithRelations, S> | null;
}>;
/**
 * Ephemeral execution state for flow graph evaluation
 *
 * @example
 * ```ts
 * await prefetchFunctionGraphExecutionQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchFunctionGraphExecutionQuery<S extends FunctionGraphExecutionSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionSelect>;
}): Promise<void>;
