import type { GatewayIdentity } from "./contracts.js"; import { type GatewayVerificationChallenge } from "./verification-store.js"; import { type GatewayVerificationCommand, type GatewayVerificationQuery, type GatewayVerificationState } from "./verification-executor.js"; export type GatewayVerificationRequest = GatewayIdentity & { type: "gateway.verification"; requestId: string; configVersion: string; } & ({ action: "list"; } | { action: "execute"; command: GatewayVerificationCommand; } | ({ action: "query"; } & GatewayVerificationQuery)); export type GatewayVerificationReply = GatewayIdentity & { type: "gateway.verification.result"; requestId: string; configVersion: string; } & ({ action: "list"; outcome: "succeeded"; challenges: GatewayVerificationChallenge[]; } | { action: "list"; outcome: "rejected"; } | ({ action: "query"; outcome: "succeeded"; state: GatewayVerificationState; } & GatewayVerificationQuery) | { action: "execute"; operationId: string; outcome: "succeeded" | "rejected" | "unknown"; }); export declare function isGatewayVerificationRequest(v: unknown): v is GatewayVerificationRequest; export declare function isGatewayVerificationReply(v: unknown): v is GatewayVerificationReply; //# sourceMappingURL=verification-contracts.d.ts.map