/** * The following code is modified based on * https://github.com/nanobrowser/nanobrowser/blob/master/chrome-extension/src/background/agent/agents/errors.ts * * Apache-2.0 License * Copyright (c) 2024 alexchenzl * https://github.com/nanobrowser/nanobrowser/blob/master/LICENSE */ /** * Custom error class for chat model authentication errors */ export declare class ChatModelAuthError extends Error { readonly cause?: unknown | undefined; /** * Creates a new ChatModelAuthError * * @param message - The error message * @param cause - The original error that caused this error */ constructor(message: string, cause?: unknown | undefined); /** * Returns a string representation of the error */ toString(): string; } //# sourceMappingURL=errors.d.ts.map