/**
 * `read_state` MCP tool — read a session state key written by the
 * `write_state` primitive (functions/state.ts).
 *
 * State lives under `~/.opensquid/sessions/<session-id>/state/<key>.json`
 * and stores a single JSON value. ENOENT collapses to the string `"null"`
 * so consumers never have to switch on missing-vs-null. Any other I/O or
 * JSON-parse error surfaces as a non-secret error message; the file path
 * itself is intentionally NOT included in the output (audit constraint:
 * MCP tool outputs MUST NOT leak filesystem paths outside `~/.opensquid/`,
 * and even paths inside are excluded — the key alone is enough context).
 *
 * Args:
 *   - `key` (required string) — the state key, identical to what
 *     `write_state` was called with.
 *
 * Imports from: runtime/paths (sessionStateFile).
 * Imported by: mcp/server.ts (handler map).
 */
export interface ReadStateArgs {
    key: string;
}
export declare function handleReadState(args: ReadStateArgs): Promise<string>;
//# sourceMappingURL=read-state.d.ts.map