/**
 * 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 { FunctionGraphRefSelect, FunctionGraphRefWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphRefSelect, FunctionGraphRefWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionGraphRefQueryKey: (id: string | number) => readonly ["functiongraphref", "detail", string | number];
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionGraphRefQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useFunctionGraphRefQuery<S extends FunctionGraphRefSelect, TData = {
    functionGraphRef: InferSelectResult<FunctionGraphRefWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphRefSelect>;
} & Omit<UseQueryOptions<{
    functionGraphRef: InferSelectResult<FunctionGraphRefWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```ts
 * const data = await fetchFunctionGraphRefQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchFunctionGraphRefQuery<S extends FunctionGraphRefSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphRefSelect>;
}): Promise<{
    functionGraphRef: InferSelectResult<FunctionGraphRefWithRelations, S> | null;
}>;
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```ts
 * await prefetchFunctionGraphRefQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchFunctionGraphRefQuery<S extends FunctionGraphRefSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphRefSelect>;
}): Promise<void>;
