/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 * @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 { PlatformInfraStoreSelect, PlatformInfraStoreWithRelations, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformInfraStoreSelect, PlatformInfraStoreWithRelations, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformInfraStoresQueryKey: (variables?: object) => readonly ["platforminfrastore", "list", object];
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformInfraStoresQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformInfraStoresQuery<S extends PlatformInfraStoreSelect, TData = {
    platformInfraStores: ConnectionResult<InferSelectResult<PlatformInfraStoreWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraStoreSelect>;
} & Omit<UseQueryOptions<{
    platformInfraStores: ConnectionResult<InferSelectResult<PlatformInfraStoreWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```ts
 * const data = await fetchPlatformInfraStoresQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformInfraStoresQuery<S extends PlatformInfraStoreSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraStoreSelect>;
}): Promise<{
    platformInfraStores: ConnectionResult<InferSelectResult<PlatformInfraStoreWithRelations, S>>;
}>;
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```ts
 * await prefetchPlatformInfraStoresQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformInfraStoresQuery<S extends PlatformInfraStoreSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraStoreSelect>;
}): Promise<void>;
