export type BridgeLifecycleOperationType = "update" | "restart";
export type BridgeLifecycleOperationStatus = "accepted" | "running" | "succeeded" | "failed" | "startup-confirmed";
export interface BridgeLifecycleOperation {
    operationId: string;
    operationType: BridgeLifecycleOperationType;
    status: BridgeLifecycleOperationStatus;
    requestedByUserId: string;
    requestedAt: string;
    updatedAt: string;
    schedulerBaseUrl?: string;
    runtimeBridgeBaseUrl?: string;
    message?: string;
    error?: string;
}
export declare function createBridgeLifecycleOperation(input: {
    operationType: BridgeLifecycleOperationType;
    requestedByUserId: string;
    schedulerBaseUrl?: unknown;
    runtimeBridgeBaseUrl?: unknown;
    status?: BridgeLifecycleOperationStatus;
    message?: string;
}): BridgeLifecycleOperation;
export declare function upsertBridgeLifecycleOperation(operation: BridgeLifecycleOperation): Promise<void>;
export declare function removeBridgeLifecycleOperation(operationId: string): Promise<void>;
/**
 * 投递 Bridge 生命周期通知。
 * 主流程：把已完成操作回调调度中心；已接收的操作从本地状态移除，失败则保留待下次启动重试。
 */
export declare function deliverPendingBridgeLifecycleNotifications(): Promise<void>;
//# sourceMappingURL=lifecycle-state.d.ts.map