import type { SdkDiagnostic, SdkSupervisorActionInput, SdkSupervisorClient, SdkSupervisorDiagnostics, SdkSupervisorDiagnosticsOptions, SdkSupervisorHealth, SdkSupervisorHeartbeat, SdkSupervisorOptions, SdkSupervisorReadiness, SdkWrapperHealth } from "./types.js"; /** * Supervises SDK wrapper readiness without replacing the typed wrappers. * * @example * ```typescript * const supervisor = createSdkSupervisor({ client }) * const health = await supervisor.health() * ``` */ export declare class SdkSupervisor { private heartbeatSequence; private readonly now; private readonly diagnosticsSeed; private readonly client?; /** * Create an SDK supervisor instance. * * @param options - Client, clock, and diagnostic dependencies. */ constructor(options?: SdkSupervisorOptions); /** * Report availability of SDK wrapper seams. * * @returns Aggregate SDK health with wrapper rows. */ health(): Promise; /** * Record a local heartbeat for SDK supervision. * * @param sessionId - Optional session ID represented by this heartbeat. * @returns Heartbeat record with monotonic sequence. */ heartbeat(sessionId?: string): Promise; /** * Return bounded diagnostics for SDK supervision. * * @param options - Diagnostic output bounds. * @returns Bounded diagnostic payload. */ diagnostics(options?: SdkSupervisorDiagnosticsOptions): Promise; /** * Report readiness using the Phase 57 runtime-pressure decision model. * * @param input - Optional pressure score or tier. * @returns Readiness decision and pressure evidence. */ readiness(input?: Pick): Promise; } /** * Create an SDK supervisor around existing SDK wrapper seams. * * @param options - Supervisor dependencies. * @returns SDK supervisor instance. */ export declare function createSdkSupervisor(options?: SdkSupervisorOptions): SdkSupervisor; /** * Execute a single SDK supervisor action. * * @param input - Validated supervisor action input. * @param options - Optional supervisor dependencies. * @returns Action-specific supervisor result. */ export declare function executeSdkSupervisorAction(input: SdkSupervisorActionInput, options?: SdkSupervisorOptions): Promise; /** * Inspect known SDK wrapper seams without calling the SDK. * * @param client - Optional OpenCode client for surface checks. * @returns Wrapper availability rows. */ export declare function inspectSdkWrappers(client?: SdkSupervisorClient): SdkWrapperHealth[]; /** * Bound diagnostics to a safe output limit. * * @param diagnostics - Candidate diagnostics. * @param requestedLimit - Optional requested limit. * @returns Bounded diagnostics payload. */ export declare function boundDiagnostics(diagnostics: SdkDiagnostic[], requestedLimit?: number): SdkSupervisorDiagnostics; export type * from "./types.js"; //# sourceMappingURL=index.d.ts.map