import type { ToolResult } from "../types.js"; interface ConnectorSummary { id: string; driver: string; mountPath?: string; } interface PluginLike { projectDir: string; connectorManager: { listConnectors(): ConnectorSummary[]; } | null; reload(): Promise; } /** * Return a summary of the current workspace configuration. * * Reports the active driver, provider, model, mount count, connector count, * and per-resource descriptors. * * @param plugin - Plugin instance (or compatible shape) exposing managers. * @param driver - Driver name (e.g. `"omp"`, `"claude-sdk"`). * @param provider - Provider identifier, if resolved. * @param model - Model identifier, if resolved. * * @docLink packages/workspace-plugin/concepts#tool-delivery */ export declare function workspaceInfo(plugin: PluginLike, driver: string, provider: string | undefined, model: string | undefined): Promise; /** * Test resolution of a secret reference. * * Resolves `env:` references against `process.env`. For other provider * schemes (e.g. `forge:key`) reports that a running forge/vault context is * required. Returns a JSON object with `{ resolved, provider?, masked? }` — * the secret value is never returned in plain text. * * @param ref - Secret reference string, e.g. `"env:ANTHROPIC_API_KEY"`. * * @docLink packages/workspace-plugin/concepts#tool-delivery */ export declare function workspaceTestSecret(ref: string): Promise; /** * Run a full health check on the workspace. * * Checks whether the driver binary is installed, then validates every * declared mount and connector. Returns a JSON report with a top-level * `passed` boolean and per-resource `ok` flags. * * @param plugin - Plugin instance (or compatible shape) exposing managers. * @param driver - Driver name used to locate the binary (`omp` or `claude`). * * @docLink packages/workspace-plugin/concepts#tool-delivery */ export declare function workspaceValidate(plugin: PluginLike, driver: string): Promise; /** * Re-read `skaile.yaml` and reinitialise all plugin resources. * * Delegates to `plugin.reload()`. Returns a JSON object comparing the * mount and connector counts before and after the reload. * * @param plugin - Plugin instance exposing a `reload()` method. * * @docLink packages/workspace-plugin/concepts#tool-delivery */ export declare function workspaceReload(plugin: PluginLike): Promise; export {}; //# sourceMappingURL=validator.d.ts.map