import type { Labels } from '../labels'; import type { Carta } from '../carta'; interface Props { /** * The Carta instance to use. */ carta: Carta; /** * The current editor mode. */ mode: 'tabs' | 'split'; /** * The current tab. */ tab: 'write' | 'preview'; /** * Editor labels. */ labels: Labels; } /** Displays the buttons to switch tabs and the icons to interact with the editor. */ declare const Toolbar: import("svelte").Component; type Toolbar = ReturnType; export default Toolbar;