import { DirtyReadResult, CacheGCMetrics as CacheGCResult, StaticProps } from './static';
import { DynamicProps } from './dynamic';
import { Series } from '@synnaxlabs/x';
import { channel, TimeRange } from '@synnaxlabs/client';

interface UnaryProps extends StaticProps, Pick<DynamicProps, "dynamicBufferSize"> {
    channel: channel.Payload;
}
export declare class Unary {
    readonly channel: channel.Payload;
    private closed;
    private readonly ins;
    private readonly static;
    private readonly dynamic;
    constructor(props: UnaryProps);
    writeDynamic(series: Series[]): Series[];
    get leadingBuffer(): Series | null;
    writeStatic(series: Series[]): void;
    read(tr: TimeRange): DirtyReadResult;
    gc(): CacheGCResult;
    close(): void;
}
export {};
//# sourceMappingURL=unary.d.ts.map