import { type CommandSettledDetail } from "./host-event-contract.js"; type WaitForCommandSettlementInput = { requestId: string; windowRef?: Window; timeoutMs?: number; }; export declare const COMMAND_SETTLEMENT_TIMEOUT_CODE: "COMMAND_SETTLEMENT_TIMEOUT"; export declare class CommandSettlementError extends Error { readonly code?: string; readonly requestId: string; readonly kind: string; readonly instanceId: string | null; constructor(input: { requestId: string; kind: string; instanceId: string | null; message: string; code?: string; }); } type CommandSettledFailureDetail = Extract; export declare const toCommandSettlementError: (detail: CommandSettledFailureDetail) => CommandSettlementError; export declare class CommandSettlementTimeoutError extends Error { readonly code: "COMMAND_SETTLEMENT_TIMEOUT"; readonly requestId: string; constructor(requestId: string); } export declare const waitForCommandSettlement: (input: WaitForCommandSettlementInput) => Promise; export {}; //# sourceMappingURL=command-settlement.d.ts.map