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