import type { Fn } from '../@aileron/declare/index.js'; import type { BatchLoader, MapLike } from '../type.js'; export declare const prepareBatchLoader: (batchLoader: BatchLoader) => BatchLoader; export declare const prepareBatchScheduler: (batchScheduler?: Fn<[task: Fn]>) => Fn<[task: Fn]>; export declare const prepareMaxBatchSize: (options?: { maxBatchSize?: number; disableBatch?: boolean; }) => number; export declare const prepareCacheMap: (cacheMap?: MapLike> | false) => MapLike> | null; export declare const prepareCacheKeyFn: (cacheKeyFn?: Fn<[key: Key], CacheKey>) => Fn<[key: Key], CacheKey>;