/**
 * Flow graph definitions — FBP graphs stored in the dedicated graph Merkle store
 * @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 { FunctionGraphSelect, FunctionGraphWithRelations, FunctionGraphFilter, FunctionGraphOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphSelect, FunctionGraphWithRelations, FunctionGraphFilter, FunctionGraphOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionGraphsQueryKey: (variables?: object) => readonly ["functiongraph", "list", object];
/**
 * Flow graph definitions — FBP graphs stored in the dedicated graph Merkle store
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionGraphsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFunctionGraphsQuery<S extends FunctionGraphSelect, TData = {
    functionGraphs: ConnectionResult<InferSelectResult<FunctionGraphWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphFilter, FunctionGraphOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphSelect>;
} & Omit<UseQueryOptions<{
    functionGraphs: ConnectionResult<InferSelectResult<FunctionGraphWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Flow graph definitions — FBP graphs stored in the dedicated graph Merkle store
 *
 * @example
 * ```ts
 * const data = await fetchFunctionGraphsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFunctionGraphsQuery<S extends FunctionGraphSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphFilter, FunctionGraphOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphSelect>;
}): Promise<{
    functionGraphs: ConnectionResult<InferSelectResult<FunctionGraphWithRelations, S>>;
}>;
/**
 * Flow graph definitions — FBP graphs stored in the dedicated graph Merkle store
 *
 * @example
 * ```ts
 * await prefetchFunctionGraphsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFunctionGraphsQuery<S extends FunctionGraphSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphFilter, FunctionGraphOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphSelect>;
}): Promise<void>;
