import { BaseCacheDevice } from './BaseCacheDevice';
export declare class AttachableMemoryCacheDevice<T> extends BaseCacheDevice<T> {
    private isAttached;
    get(key: string): T | undefined;
    set(key: string, value: T): void;
    serialize(): Record<string, string>;
    attach<ArgsType extends unknown[]>(func: (...args: ArgsType) => T): (...args: ArgsType) => T;
}
