/** * Thrown by a {@link Runtime}'s `deliver` when no in-flight session * matches the continuation token. Callers using the resume-or-start * pattern (e.g. a channel address send) treat this as the signal to start * a fresh session. */ export declare class RuntimeNoActiveSessionError extends Error { readonly code: "NO_ACTIVE_SESSION"; readonly continuationToken: string; constructor(continuationToken: string); } /** Type guard for {@link RuntimeNoActiveSessionError}. */ export declare function isRuntimeNoActiveSessionError(error: unknown): error is RuntimeNoActiveSessionError; /** Signals that another session won a concurrent channel-address claim. */ export declare class RuntimeSessionOwnershipConflictError extends Error { readonly continuationToken: string; readonly ownerSessionId: string; readonly sessionId: string; constructor(input: { readonly continuationToken: string; readonly ownerSessionId: string; readonly sessionId: string; }); } export declare function isRuntimeSessionOwnershipConflictError(error: unknown): error is RuntimeSessionOwnershipConflictError;