import Dexie, { type EntityTable } from 'dexie'; import type { Patch } from 'immer'; import type { Slide, SlideTemplate, SlideTheme } from '../types/slides'; export interface writingBoardImg { id: string; dataURL: string; } export interface Snapshot { id: number; index: number; title?: string; theme?: SlideTheme; viewportSize?: number; viewportRatio?: number; templates?: SlideTemplate[]; slides?: Slide[]; patches?: Patch[]; inversePatches?: Patch[]; } export declare const deleteDiscardedDB: () => Promise; declare const db: Dexie & { snapshots: EntityTable; writingBoardImgs: EntityTable; }; export { db };