import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { LinkSelector } from "./bridge/selector.js"; export interface CreateServerOptions { controlPort?: number; pluginPort?: number; /** Enables the run_lua escape hatch. Off unless the operator opts in. */ allowLua?: boolean; /** * Register every workflow as an MCP prompt. Plugin installs (Claude Code, * omp) turn this off: they already list the skills as `/aseprite:`, and * the harness would add the prompts again as `/aseprite:aseprite:aseprite:`. */ prompts?: boolean; autoSpawnBridge?: boolean; root?: string; /** * Start against a batch Aseprite this server owns instead of the user's * window. The session can still switch explicitly with `preflight mode=…`; * nothing switches on its own (ADR-0008). */ headless?: boolean; /** Headless: the Aseprite executable. Default: ASEPRITE_PATH, then the usual install locations. */ asepritePath?: string; } export interface RunningServer { server: McpServer; live: LinkSelector; } export declare function createServer(opts?: CreateServerOptions): RunningServer;