export interface ErrioConfig { /** API key with `ak_` prefix */ apiKey: string; /** Environment name, e.g. 'production', 'staging' */ environment?: string; /** Service name, e.g. 'payment-service' */ serviceName?: string; } export type ErrorType = 'build_failure' | 'runtime_error' | 'test_failure' | 'type_error' | 'dependency_issue' | 'unknown'; export type Severity = 'critical' | 'high' | 'medium' | 'low'; export interface ErrorPayload { source: 'api'; error_type: ErrorType; error_message: string; stack_trace: string | null; repo_full_name: string; commit_sha: string | null; branch: string | null; file_paths: string[]; severity: Severity; raw_payload: Record; metadata: Record; } export interface GitInfo { repoFullName: string | null; commitSha: string | null; branch: string | null; } export interface ApiResponse { error_id: string; deduplicated: boolean; status: string; } //# sourceMappingURL=types.d.ts.map