/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 * @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 { FunctionGraphObjectSelect, FunctionGraphObjectWithRelations, FunctionGraphObjectFilter, FunctionGraphObjectOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphObjectSelect, FunctionGraphObjectWithRelations, FunctionGraphObjectFilter, FunctionGraphObjectOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionGraphObjectsQueryKey: (variables?: object) => readonly ["functiongraphobject", "list", object];
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionGraphObjectsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFunctionGraphObjectsQuery<S extends FunctionGraphObjectSelect, TData = {
    functionGraphObjects: ConnectionResult<InferSelectResult<FunctionGraphObjectWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphObjectFilter, FunctionGraphObjectOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphObjectSelect>;
} & Omit<UseQueryOptions<{
    functionGraphObjects: ConnectionResult<InferSelectResult<FunctionGraphObjectWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```ts
 * const data = await fetchFunctionGraphObjectsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFunctionGraphObjectsQuery<S extends FunctionGraphObjectSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphObjectFilter, FunctionGraphObjectOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphObjectSelect>;
}): Promise<{
    functionGraphObjects: ConnectionResult<InferSelectResult<FunctionGraphObjectWithRelations, S>>;
}>;
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```ts
 * await prefetchFunctionGraphObjectsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFunctionGraphObjectsQuery<S extends FunctionGraphObjectSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphObjectFilter, FunctionGraphObjectOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphObjectSelect>;
}): Promise<void>;
