import { type alamos } from "@synnaxlabs/alamos";
import { type channel, type TimeRange } from "@synnaxlabs/client";
import { type Series } from "@synnaxlabs/x";
import { Dynamic } from './dynamic';
import { type DirtyReadResult, Static, type DirtyReadForWriteResult } from './static';
export declare class Cache {
    readonly channel: channel.Payload;
    readonly static: Static;
    readonly dynamic: Dynamic;
    constructor(dynamicCap: number, channel: channel.Payload, ins: alamos.Instrumentation);
    writeDynamic(series: Series[]): Series[];
    writeStatic(series: Series[]): void;
    dirtyRead(tr: TimeRange): DirtyReadResult;
    dirtyReadForStaticWrite(tr: TimeRange): Promise<DirtyReadForWriteResult>;
    close(): void;
}
