/**
 * List query hook for PlatformInfraGetAllTreeNodesRecord
 * @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 { PlatformInfraGetAllTreeNodesRecordSelect, PlatformInfraGetAllTreeNodesRecordWithRelations, PlatformInfraGetAllTreeNodesRecordFilter, PlatformInfraGetAllTreeNodesRecordsOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformInfraGetAllTreeNodesRecordSelect, PlatformInfraGetAllTreeNodesRecordWithRelations, PlatformInfraGetAllTreeNodesRecordFilter, PlatformInfraGetAllTreeNodesRecordsOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformInfraGetAllTreeNodesQueryKey: (variables?: object) => readonly ["platforminfragetalltreenodesrecord", "list", object];
/**
 * Query hook for fetching PlatformInfraGetAllTreeNodesRecord list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformInfraGetAllTreeNodesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformInfraGetAllTreeNodesQuery<S extends PlatformInfraGetAllTreeNodesRecordSelect, TData = {
    platformInfraGetAllTreeNodes: ConnectionResult<InferSelectResult<PlatformInfraGetAllTreeNodesRecordWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraGetAllTreeNodesRecordFilter, PlatformInfraGetAllTreeNodesRecordsOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraGetAllTreeNodesRecordSelect>;
} & Omit<UseQueryOptions<{
    platformInfraGetAllTreeNodes: ConnectionResult<InferSelectResult<PlatformInfraGetAllTreeNodesRecordWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch PlatformInfraGetAllTreeNodesRecord list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchPlatformInfraGetAllTreeNodesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformInfraGetAllTreeNodesQuery<S extends PlatformInfraGetAllTreeNodesRecordSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraGetAllTreeNodesRecordFilter, PlatformInfraGetAllTreeNodesRecordsOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraGetAllTreeNodesRecordSelect>;
}): Promise<{
    platformInfraGetAllTreeNodes: ConnectionResult<InferSelectResult<PlatformInfraGetAllTreeNodesRecordWithRelations, S>>;
}>;
/**
 * Prefetch PlatformInfraGetAllTreeNodesRecord list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchPlatformInfraGetAllTreeNodesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformInfraGetAllTreeNodesQuery<S extends PlatformInfraGetAllTreeNodesRecordSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraGetAllTreeNodesRecordFilter, PlatformInfraGetAllTreeNodesRecordsOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraGetAllTreeNodesRecordSelect>;
}): Promise<void>;
