// ILiveAgentProvider.ts
import { Env } from "@stencil/core";
export const envMode = Env.DATA_MODE || "prod";
// Additional methods can be added as needed for more functionality
// This interface defines the contract for a Live Agent provider, allowing for chat management and message handling.
// Implementations of this interface would handle the specifics of interacting with a live chat service.
/**
 * Thrown when a resumed live-agent session is rejected with HTTP 401 or 403,
 * indicating the stored access token has expired or been revoked.
 */
export class LiveAgentAuthExpiredError extends Error {
    constructor(message = "Live agent session authentication has expired") {
        super(message);
        this.name = "LiveAgentAuthExpiredError";
    }
}
