/**
 * Branch heads — mutable pointers into the commit chain
 * @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 { FunctionGraphRefSelect, FunctionGraphRefWithRelations, FunctionGraphRefFilter, FunctionGraphRefOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphRefSelect, FunctionGraphRefWithRelations, FunctionGraphRefFilter, FunctionGraphRefOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionGraphRefsQueryKey: (variables?: object) => readonly ["functiongraphref", "list", object];
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionGraphRefsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFunctionGraphRefsQuery<S extends FunctionGraphRefSelect, TData = {
    functionGraphRefs: ConnectionResult<InferSelectResult<FunctionGraphRefWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphRefFilter, FunctionGraphRefOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphRefSelect>;
} & Omit<UseQueryOptions<{
    functionGraphRefs: ConnectionResult<InferSelectResult<FunctionGraphRefWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```ts
 * const data = await fetchFunctionGraphRefsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFunctionGraphRefsQuery<S extends FunctionGraphRefSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphRefFilter, FunctionGraphRefOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphRefSelect>;
}): Promise<{
    functionGraphRefs: ConnectionResult<InferSelectResult<FunctionGraphRefWithRelations, S>>;
}>;
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```ts
 * await prefetchFunctionGraphRefsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFunctionGraphRefsQuery<S extends FunctionGraphRefSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphRefFilter, FunctionGraphRefOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphRefSelect>;
}): Promise<void>;
