/** * The severity of an error. */ export declare const SEVERITY: { readonly Warning: "Warning"; readonly Error: "Error"; readonly Critical: "Critical"; }; export type Severity = (typeof SEVERITY)[keyof typeof SEVERITY]; /** * Base class for all Traceloop errors. */ export declare class TraceloopError extends Error { /** * The severity of the error. */ severity: Severity; /** * The underlying cause of the error. */ underlyingCause?: Error; constructor(message: string, severity?: Severity); } export declare class NotInitializedError extends TraceloopError { constructor(); } export declare class InitializationError extends TraceloopError { constructor(message?: string, cause?: Error); } export declare class ArgumentNotProvidedError extends TraceloopError { constructor(argumentName: string); } export declare class PromptNotFoundError extends TraceloopError { constructor(key: string); } //# sourceMappingURL=index.d.ts.map