import { _ as ToolTouch, a as INTERACTION_DEFAULTS, b as FeedbackToken, c as InteractionSettings, d as RegisterToolOptions, f as Tool, g as ToolPointerEvent, h as ToolId, i as GestureStartedEvent, l as Modifiers, m as ToolCursors, n as GestureCancelledEvent, o as InteractionCapability, p as ToolChangedEvent, r as GestureEndedEvent, s as InteractionConfig, t as Cursor, u as PointerKind, v as InteractionToken, x as PlatformFeedback, y as FeedbackPluginOptions } from "./contract-C9IFDdDd.js"; import { i as InteractionHostCapability } from "./host-contract-DVok8Thp.js"; //#region src/model.d.ts interface InteractionModel { readonly activeToolId: ToolId; /** Tools activated with `pushTool`, oldest first; `popTool` restores the last. */ readonly toolStack: readonly ToolId[]; readonly cursor: Cursor; } //#endregion //#region src/interaction.plugin.d.ts /** * The interaction hub: document-scoped, depends on nothing. Feature plugins * `require` this token; the Stage `optional`-ly contributes a scroll handler. * `config` is the settings the app registers, over {@link INTERACTION_DEFAULTS}. */ declare const interactionPlugin: (config?: InteractionConfig) => import("@embedpdf/core").PluginDefinition; //#endregion //#region src/state.d.ts /** The active tool and every tool. */ interface InteractionState { /** The active tool's id; `null` with no document. */ readonly activeToolId: ToolId | null; /** Every tool, in the order they were added, the built-in ones first. */ readonly tools: readonly Tool[]; } declare const interactionState: import("@embedpdf/core").StateDeclaration; //#endregion //#region src/feedback.d.ts /** * Register the workspace's one feedback provider. Stateless: the capability * is the provider (or the no-op). */ declare const feedbackPlugin: (options?: FeedbackPluginOptions) => import("@embedpdf/core").PluginDefinition; //#endregion export { Cursor, type FeedbackPluginOptions, FeedbackToken, GestureCancelledEvent, GestureEndedEvent, GestureStartedEvent, INTERACTION_DEFAULTS, InteractionCapability, InteractionConfig, InteractionSettings, type InteractionState, InteractionToken, Modifiers, type PlatformFeedback, PointerKind, RegisterToolOptions, Tool, ToolChangedEvent, ToolCursors, ToolId, ToolPointerEvent, ToolTouch, feedbackPlugin, interactionPlugin, interactionState }; //# sourceMappingURL=index.d.ts.map