/**
 * 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 { ListSelectionConfig } from '../selection';
import type { PlatformInfraRefSelect, PlatformInfraRefWithRelations, PlatformInfraRefFilter, PlatformInfraRefOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformInfraRefSelect, PlatformInfraRefWithRelations, PlatformInfraRefFilter, PlatformInfraRefOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformInfraRefsQueryKey: (variables?: object) => readonly ["platforminfraref", "list", object];
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformInfraRefsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformInfraRefsQuery<S extends PlatformInfraRefSelect, TData = {
    platformInfraRefs: ConnectionResult<InferSelectResult<PlatformInfraRefWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraRefFilter, PlatformInfraRefOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraRefSelect>;
} & Omit<UseQueryOptions<{
    platformInfraRefs: ConnectionResult<InferSelectResult<PlatformInfraRefWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```ts
 * const data = await fetchPlatformInfraRefsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformInfraRefsQuery<S extends PlatformInfraRefSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraRefFilter, PlatformInfraRefOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraRefSelect>;
}): Promise<{
    platformInfraRefs: ConnectionResult<InferSelectResult<PlatformInfraRefWithRelations, S>>;
}>;
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```ts
 * await prefetchPlatformInfraRefsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformInfraRefsQuery<S extends PlatformInfraRefSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraRefFilter, PlatformInfraRefOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraRefSelect>;
}): Promise<void>;
