/** * The two lines `doctor` exists for. * * They live here, apart from the CLI, because their exact wording is the whole * product of the command — a user reads them and decides what to go and fix — * and cli.ts runs `main()` on import, so it cannot be loaded from a test. */ export interface LinkState { /** The control link came up (whoever started it). */ bridgeUp: boolean; /** It was already up before this check ran, rather than started by it. */ wasAlreadyRunning: boolean; /** Aseprite's extension is attached to that bridge. */ pluginUp: boolean; controlPort: number; extensionVersion?: string; asepriteVersion?: string; /** This package's version, to compare against the extension actually attached. */ serverVersion?: string; } export declare function linkLines(state: LinkState): [bridge: string, extension: string];