import type { ErrioConfig, ErrorType, Severity } from './types.js'; /** * Classify an error message into an error type. * Defaults to 'runtime_error' (unlike the CI/CD-oriented shared package which defaults to 'build_failure'). */ declare function classifyError(errorMessage: string): ErrorType; /** * Extract file paths from a stack trace. */ declare function extractFilePaths(text: string): string[]; export interface CaptureOptions { severity?: Severity; } export declare class ErrioClient { private apiKey; private environment?; private serviceName?; private gitInfo; private dedupCache; constructor(config: ErrioConfig); captureError(error: Error, options?: CaptureOptions): Promise; } export { classifyError, extractFilePaths }; //# sourceMappingURL=client.d.ts.map