export declare class AsyncQueue<K, V> {
    private readonly create;
    private readonly cache;
    constructor(create: (key: K) => Promise<V>);
    set(key: K, value: V): void;
    preload(key: K): void;
    get(key: K): Promise<V>;
}
export default class AsyncCache<K, V> {
    private readonly create;
    private readonly cache;
    constructor(create: (key: K) => Promise<V>);
    set(key: K, value: V): void;
    preload(key: K): void;
    get(key: K): Promise<V>;
}
//# sourceMappingURL=async-cache.d.ts.map