/// <reference types="react" />
import { TDDocument } from '@tldraw/tldraw';
import { CursorComponent } from '@tldraw/core';
import { TDCallbacks } from '@tldraw/tldraw/dist/state';
export interface TldrawProps extends TDCallbacks {
    /**
     * (optional) If provided, the component will load / persist state under this key.
     */
    id?: string;
    /**
     * (optional) The document to load or update from.
     */
    document?: TDDocument;
    /**
     * (optional) The current page id.
     */
    currentPageId?: string;
    /**
     * (optional) Whether the editor should immediately receive focus. Defaults to true.
     */
    autofocus?: boolean;
    /**
     * (optional) Whether to show the menu UI.
     */
    showMenu?: boolean;
    /**
     * (optional) Whether to show the multiplayer menu.
     */
    showMultiplayerMenu?: boolean;
    /**
     * (optional) Whether to show the pages UI.
     */
    showPages?: boolean;
    /**
     * (optional) Whether to show the styles UI.
     */
    showStyles?: boolean;
    /**
     * (optional) Whether to show the zoom UI.
     */
    showZoom?: boolean;
    /**
     * (optional) Whether to show the tools UI.
     */
    showTools?: boolean;
    /**
     * (optional) Whether to show the UI.
     */
    showUI?: boolean;
    /**
     * (optional) Whether to the document should be read only.
     */
    readOnly?: boolean;
    /**
     * (optional) Whether to to show the app's dark mode UI.
     */
    darkMode?: boolean;
    /**
     * (optional) If provided, image/video componnets will be disabled.
     *
     * Warning: Keeping this enabled for multiplayer applications without provifing a storage
     * bucket based solution will cause massive base64 string to be written to the liveblocks room.
     */
    disableAssets?: boolean;
    /**
     * (optional) Custom components to override parts of the default UI.
     */
    components?: {
        /**
         * The component to render for multiplayer cursors.
         */
        Cursor?: CursorComponent;
    };
    /**
     * (optional) To hide cursors
     */
    hideCursors?: boolean;
}
export declare function Tldraw({ document, currentPageId, autofocus, showMenu, showMultiplayerMenu, showPages, showTools, showZoom, showStyles, showUI, readOnly, disableAssets, darkMode, components, hideCursors, }: TldrawProps): JSX.Element;
export interface EditorProps {
    /**
     * (optional) Custom components to override parts of the default UI.
     */
    components?: {
        /**
         * The component to render for multiplayer cursors.
         */
        Cursor?: CursorComponent;
    };
    readOnly?: boolean;
}
export declare const Editor: ({ components, readOnly }: EditorProps) => JSX.Element;
//# sourceMappingURL=Editor.d.ts.map