/**
 * 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 { PlatformInfraObjectSelect, PlatformInfraObjectWithRelations, PlatformInfraObjectFilter, PlatformInfraObjectOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformInfraObjectSelect, PlatformInfraObjectWithRelations, PlatformInfraObjectFilter, PlatformInfraObjectOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformInfraObjectsQueryKey: (variables?: object) => readonly ["platforminfraobject", "list", object];
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformInfraObjectsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformInfraObjectsQuery<S extends PlatformInfraObjectSelect, TData = {
    platformInfraObjects: ConnectionResult<InferSelectResult<PlatformInfraObjectWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraObjectFilter, PlatformInfraObjectOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraObjectSelect>;
} & Omit<UseQueryOptions<{
    platformInfraObjects: ConnectionResult<InferSelectResult<PlatformInfraObjectWithRelations, 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 fetchPlatformInfraObjectsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformInfraObjectsQuery<S extends PlatformInfraObjectSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraObjectFilter, PlatformInfraObjectOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraObjectSelect>;
}): Promise<{
    platformInfraObjects: ConnectionResult<InferSelectResult<PlatformInfraObjectWithRelations, S>>;
}>;
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```ts
 * await prefetchPlatformInfraObjectsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformInfraObjectsQuery<S extends PlatformInfraObjectSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraObjectFilter, PlatformInfraObjectOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraObjectSelect>;
}): Promise<void>;
