import { RedisCache } from 'coa-redis'; import { MysqlBin } from '../libs/MysqlBin'; import { MysqlCache } from '../services/MysqlCache'; declare const scheme: { key: string; value: any; expire: number; }; export declare class MysqlStorage extends MysqlCache { constructor(bin: MysqlBin, cache: RedisCache); get(key: string): Promise; set(key: string, value: T, ms?: number): Promise; warp(key: string, worker: () => Promise, ms?: number): Promise; define: (key: string, _ms?: number) => { get: () => Promise; set: (value: T, ms?: number) => Promise; warp: (worker: () => Promise, ms?: number) => Promise; }; } export {};