/**
 * 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 { InfraStoreSelect, InfraStoreWithRelations, InfraStoreFilter, InfraStoreOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraStoreSelect, InfraStoreWithRelations, InfraStoreFilter, InfraStoreOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const infraStoresQueryKey: (variables?: object) => readonly ["infrastore", "list", object];
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useInfraStoresQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useInfraStoresQuery<S extends InfraStoreSelect, TData = {
    infraStores: ConnectionResult<InferSelectResult<InfraStoreWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InfraStoreFilter, InfraStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InfraStoreSelect>;
} & Omit<UseQueryOptions<{
    infraStores: ConnectionResult<InferSelectResult<InfraStoreWithRelations, 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 fetchInfraStoresQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchInfraStoresQuery<S extends InfraStoreSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InfraStoreFilter, InfraStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InfraStoreSelect>;
}): Promise<{
    infraStores: ConnectionResult<InferSelectResult<InfraStoreWithRelations, S>>;
}>;
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```ts
 * await prefetchInfraStoresQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchInfraStoresQuery<S extends InfraStoreSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InfraStoreFilter, InfraStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InfraStoreSelect>;
}): Promise<void>;
