export declare const MAX_MESSAGE_LENGTH = 1000; export declare const MAX_STACK_LENGTH = 8000; export declare const MAX_TAGS = 30; export declare const MAX_EXTRA_KEYS = 30; export declare const MAX_EXTRA_VALUE_LENGTH = 1000; export declare const SECRET_KEY_RE: RegExp; export declare function isSqlQueryFailureText(value: string): boolean; export declare function isSqlStatementText(value: string): boolean; export declare function redact(value: string): string; export declare function boundedText(value: unknown, max: number): string; export declare function redactErrorStack(error: unknown): string | undefined; export declare function safeValue(value: unknown, depth?: number): unknown; export declare function safeTags(tags: Record | undefined): Record; export interface ExceptionParts { type: string; message: string; stack?: string; diagnostics?: Record; } export declare function exceptionParts(error: unknown): ExceptionParts;