/** * synap doctor — coherence preflight. * * Catches CLI-side config drift in ONE call instead of scattered 404/403 * failures partway through a real command. Checks, in order: * (a) SYNAP_POD_URL resolves — the host is actually served (catches the * classic failure: a stale/migrated domain that still LOOKS configured). * (b) the key authenticates against that pod. * (c) the configured workspace (and project) actually exist on THIS pod — * via `GET /orient`, which is the pod's own answer to "what's valid here". * (d) prints the active lens (pod, workspace, project) so the user sees * exactly where they're pointed. * * Degrades gracefully on older pods (missing /orient, no release/status route) * — a check that can't run says so and moves on, it never throws. */ interface DoctorOpts { json?: boolean; } export declare function doctor(opts?: DoctorOpts): Promise; export {};