Files
seagull-game/app/basepak/static/js/mermaid/diagrams/packet/db.d.ts
2025-11-23 14:59:17 -08:00

25 lines
745 B
TypeScript

import type { DiagramDB } from '../../diagram-api/types.js';
import type { PacketWord } from './types.js';
export declare class PacketDB implements DiagramDB {
private packet;
getConfig(): {
rowHeight: number;
bitWidth: number;
bitsPerRow: number;
showBits: boolean;
paddingX: number;
paddingY: number;
useWidth: number;
useMaxWidth: boolean;
};
getPacket(): PacketWord[];
pushWord(word: PacketWord): void;
clear(): void;
setAccTitle: (txt: string) => void;
getAccTitle: () => string;
setDiagramTitle: (txt: string) => void;
getDiagramTitle: () => string;
getAccDescription: () => string;
setAccDescription: (txt: string) => void;
}