import type { ManagedWebLogMonitorStatus } from "./managed-web-logs.js"; export type WebLogMaintenancePhase = "authenticating" | "inspecting" | "stopping" | "stopped" | "rotating" | "restoring" | "complete"; export interface WebLogMaintenanceStatus { readonly version: 1; readonly state: "running" | "success" | "degraded" | "failed"; readonly phase: WebLogMaintenancePhase; readonly updatedAt: string; readonly detail?: string; readonly refusals?: readonly string[]; } export type WebStatusRead = { readonly kind: "absent"; } | { readonly kind: "valid"; readonly status: T; } | { readonly kind: "invalid"; readonly detail: string; }; type PrivateWriter = (path: string, contents: string) => Promise; export declare function writeWebLogMonitorStatus(path: string, status: ManagedWebLogMonitorStatus, writer?: PrivateWriter): Promise; export declare function readWebLogMonitorStatus(path: string): Promise>; export declare function writeWebLogMaintenanceStatus(path: string, status: WebLogMaintenanceStatus, writer?: PrivateWriter): Promise; export declare function readWebLogMaintenanceStatus(path: string): Promise>; export {}; //# sourceMappingURL=web-log-maintenance-status.d.ts.map