export interface PaintStroke { u: number; v: number; radius: number; color: string; } export interface PaintLayer { paint(instanceId: string, stroke: PaintStroke): void; strokes(instanceId: string): readonly PaintStroke[]; paintedIds(): readonly string[]; clear(instanceId?: string): void; version(instanceId: string): number; subscribe(listener: () => void): () => void; } export declare function createPaintLayer(): PaintLayer;