export declare enum ApiErrorCode {
    UNAUTHORIZED = "unauthorized",
    FORBIDDEN = "forbidden",
    NOT_FOUND = "not_found",
    VALIDATION_FAILED = "validation_failed",
    CONFLICT = "conflict",
    BAD_REQUEST = "bad_request",
    INTERNAL_ERROR = "internal_error",
    NOT_IMPLEMENTED = "not_implemented",
    SERVICE_UNAVAILABLE = "service_unavailable",
    UNKNOWN = "unknown_error"
}
export interface ApiErrorContext {
    path?: string;
    method?: string;
    fieldErrors?: Record<string, string>;
    correlationId?: string;
    [key: string]: any;
}
export interface ApiError {
    code: ApiErrorCode;
    message: string;
    statusCode: number;
    context?: Record<string, any>;
}
