/**
 * 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 { PlatformInfraObjectSelect, PlatformInfraObjectWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformInfraObjectSelect, PlatformInfraObjectWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformInfraGetNodeAtPathQueryKey: (id: string | number) => readonly ["platforminfraobject", "detail", string | number];
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformInfraObjectQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformInfraObjectQuery<S extends PlatformInfraObjectSelect, TData = {
    platformInfraGetNodeAtPath: InferSelectResult<PlatformInfraObjectWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformInfraObjectSelect>;
} & Omit<UseQueryOptions<{
    platformInfraGetNodeAtPath: InferSelectResult<PlatformInfraObjectWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```ts
 * const data = await fetchPlatformInfraObjectQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformInfraObjectQuery<S extends PlatformInfraObjectSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformInfraObjectSelect>;
}): Promise<{
    platformInfraGetNodeAtPath: InferSelectResult<PlatformInfraObjectWithRelations, S> | null;
}>;
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```ts
 * await prefetchPlatformInfraObjectQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformInfraObjectQuery<S extends PlatformInfraObjectSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformInfraObjectSelect>;
}): Promise<void>;
