/** * ID生成器 */ export declare class IdGenerator { serial: number; type: string; constructor(type: string); next(): number; getType(): string; initSerial(serial: number): void; } export declare const GraphicIdGenerator: IdGenerator;