/**
 * Per-node execution state — tracks individual node lifecycle for debugging
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { FunctionGraphExecutionNodeStateSelect, FunctionGraphExecutionNodeStateWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphExecutionNodeStateSelect, FunctionGraphExecutionNodeStateWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionGraphExecutionNodeStateQueryKey: (id: string | number) => readonly ["functiongraphexecutionnodestate", "detail", string | number];
/**
 * Per-node execution state — tracks individual node lifecycle for debugging
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionGraphExecutionNodeStateQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useFunctionGraphExecutionNodeStateQuery<S extends FunctionGraphExecutionNodeStateSelect, TData = {
    functionGraphExecutionNodeState: InferSelectResult<FunctionGraphExecutionNodeStateWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionNodeStateSelect>;
} & Omit<UseQueryOptions<{
    functionGraphExecutionNodeState: InferSelectResult<FunctionGraphExecutionNodeStateWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Per-node execution state — tracks individual node lifecycle for debugging
 *
 * @example
 * ```ts
 * const data = await fetchFunctionGraphExecutionNodeStateQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchFunctionGraphExecutionNodeStateQuery<S extends FunctionGraphExecutionNodeStateSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionNodeStateSelect>;
}): Promise<{
    functionGraphExecutionNodeState: InferSelectResult<FunctionGraphExecutionNodeStateWithRelations, S> | null;
}>;
/**
 * Per-node execution state — tracks individual node lifecycle for debugging
 *
 * @example
 * ```ts
 * await prefetchFunctionGraphExecutionNodeStateQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchFunctionGraphExecutionNodeStateQuery<S extends FunctionGraphExecutionNodeStateSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionNodeStateSelect>;
}): Promise<void>;
