import type { Component } from 'svelte'; import type { ChapterAnnotationTool } from '../../core/types/story'; export type AnnotationToolDefinition = { id: ChapterAnnotationTool; icon: Component; }; /** * The annotation tools, defined once for every surface that offers them. * * The story builder and the annotation editor put their palettes in different * places — a chapter panel in one, a sidebar in the other — but they are the * same tools. Each surface previously carried its own copy of this list, so * adding a tool meant editing both and the two drifted apart in ordering. * Order here is the order a reader sees, wherever the palette is rendered. */ export declare const ANNOTATION_TOOLS: readonly AnnotationToolDefinition[]; /** The tools that create a shape, for surfaces that drive selection elsewhere. */ export declare const DRAWING_ANNOTATION_TOOLS: readonly AnnotationToolDefinition[]; /** Translation key for a tool's label. Shared so the wording cannot diverge. */ export declare const annotationToolLabelKey: (tool: ChapterAnnotationTool) => string;