/**
 * 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 { ListSelectionConfig } from '../selection';
import type { FunctionGraphExecutionSelect, FunctionGraphExecutionWithRelations, FunctionGraphExecutionFilter, FunctionGraphExecutionOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphExecutionSelect, FunctionGraphExecutionWithRelations, FunctionGraphExecutionFilter, FunctionGraphExecutionOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionGraphExecutionsQueryKey: (variables?: object) => readonly ["functiongraphexecution", "list", object];
/**
 * Ephemeral execution state for flow graph evaluation
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionGraphExecutionsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFunctionGraphExecutionsQuery<S extends FunctionGraphExecutionSelect, TData = {
    functionGraphExecutions: ConnectionResult<InferSelectResult<FunctionGraphExecutionWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphExecutionFilter, FunctionGraphExecutionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionSelect>;
} & Omit<UseQueryOptions<{
    functionGraphExecutions: ConnectionResult<InferSelectResult<FunctionGraphExecutionWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Ephemeral execution state for flow graph evaluation
 *
 * @example
 * ```ts
 * const data = await fetchFunctionGraphExecutionsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFunctionGraphExecutionsQuery<S extends FunctionGraphExecutionSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphExecutionFilter, FunctionGraphExecutionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionSelect>;
}): Promise<{
    functionGraphExecutions: ConnectionResult<InferSelectResult<FunctionGraphExecutionWithRelations, S>>;
}>;
/**
 * Ephemeral execution state for flow graph evaluation
 *
 * @example
 * ```ts
 * await prefetchFunctionGraphExecutionsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFunctionGraphExecutionsQuery<S extends FunctionGraphExecutionSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphExecutionFilter, FunctionGraphExecutionOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionSelect>;
}): Promise<void>;
