import type { ImageEditorController, TextEditSession, TypeToolOptions } from '@pixerate/editor/image-editor'; /** * The type tool's options: font family (from the editor's fonts), size, bold, italic, colour, * alignment and orientation (horizontal or vertical type, with upright Latin in vertical text). While text is being edited they style the selection (or the whole text); with a * type layer active they style all of it; otherwise they set what the next text uses. */ interface Props { controller: ImageEditorController; options: TypeToolOptions; onchange: (options: TypeToolOptions) => void; /** The text being edited on the canvas: changes style its selection (or all of it). */ session?: TextEditSession | null; class?: string; } declare const TypeOptionsBar: import("svelte").Component; type TypeOptionsBar = ReturnType; export default TypeOptionsBar;