import type { ReceivingAdapter } from "./comms-receiving-types.js"; export interface CommsCheckResult { schema: "humanish.comms-check.v1"; ok: boolean; connection: string; online: boolean; credentialPresent: boolean; authenticated: boolean | null; ready: boolean | null; permissions: "unknown"; capacity: "unknown"; checkedAt: string | null; code: string; message: string; } export declare function checkCommsConnection(args: { cwd: string; connection?: string; env: NodeJS.ProcessEnv; online?: boolean; makeAdapter?: (apiKey: string) => ReceivingAdapter; }): Promise; export declare function receivingRequiredKey(cwd: string, connectionName: string): Promise; export interface CommsConfigureResult { schema: "humanish.comms-configure.v1"; ok: boolean; applied: boolean; message: string; path?: string; planToken?: string; connection?: string; } /** Save a local copy, never rewrite a committed manifest or silently shadow it by handle. */ export declare function configureCommsLab(args: { cwd: string; lab: string; connection: string; apply?: boolean; planToken?: string; }): Promise;