import { TldrawApp, TDToolType, TldrawCommand, TDSnapshot } from '@tldraw/tldraw';
import { Record } from '../types';
export declare class TrawCanvasApp extends TldrawApp {
    onZoom: () => void;
    onPan: () => void;
    constructor(id?: string, callbacks?: any);
}
export declare class TrawApp {
    app: TrawCanvasApp;
    /**
     * A zustand store that also holds the state.
     */
    private store;
    /**
     * The current state.
     */
    private _state;
    /**
     * The time the current action started.
     * This is used to calculate the duration of the record.
     */
    private _actionStartTime;
    constructor();
    selectTool(tool: TDToolType): void;
    useSlidesStore(): TDSnapshot;
    useTldrawApp(): TrawCanvasApp;
    setActionStartTime: () => void;
    recordCommand: (state: TDSnapshot, command: TldrawCommand) => void;
    addRecords: (records: Record[]) => void;
    createSlide: () => void;
    deleteSlide: () => void;
    selectSlide: (id: string) => void;
}
//# sourceMappingURL=TrawApp.d.ts.map