@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 538 B
TypeScript
export type InternalDirection = "c2s" | "s2c";
export declare const INTERNAL_RECORD_MAX: number;
/** One connection direction. A failed authentication never advances its receive counter. */
export declare class InternalRecordCipher {
private readonly key;
private readonly direction;
private counter;
constructor(key: Buffer, direction: InternalDirection, counter?: bigint);
private parameters;
seal(plaintext: Buffer): Buffer;
open(body: Buffer): Buffer;
}
//# sourceMappingURL=internal-record-cipher.d.ts.map