type Brand = K & { readonly __brand: T; }; export type OpaqueId = Brand; export type RecordId = Brand; export type LockId = Brand; export type ActorId = Brand; export type LeaseToken = Brand; export type TransitionNonce = Brand; export declare const MAX_TRANSITION_OUTCOMES = 64; export interface TransitionOutcome { nonce: TransitionNonce; version: number; state: State; attempt: number; actor: ActorId; lease_token: LeaseToken | null; } export interface RuntimeRecord = Record> { schema_version: 1; record_id: RecordId; record_kind: OpaqueId; version: number; state: State; attempt: number; max_attempts: number; actor: ActorId; lease_token: LeaseToken | null; transition_nonce: TransitionNonce; payload: Payload; transition_outcomes: TransitionOutcome[]; } export declare function assertOpaqueId(value: unknown, label?: string): OpaqueId; export declare function assertRecordId(value: unknown, label?: string): RecordId; export declare function assertLockId(value: unknown, label?: string): LockId; export declare function assertActorId(value: unknown, label?: string): ActorId; export declare function assertLeaseToken(value: unknown, label?: string): LeaseToken; export declare function assertTransitionNonce(value: unknown, label?: string): TransitionNonce; export declare function runtimeRecordSchemaPath(root?: string): string; export declare function loadRuntimeRecordSchema(root?: string): import("../runtime/schema.js").JsonSchemaNode; export declare function recordFileName(recordId: RecordId): string; export declare function recordLockId(recordId: RecordId): LockId; export declare function parseRuntimeRecord(value: unknown): RuntimeRecord; export {};