import { type NativeValidationPublicDetail } from './router/errors.js'; export declare const NATIVE_BILLING_MASK_RULE = "native-billing-mask-v2-2026-10-03"; export declare const NATIVE_BILLING_MASKED_MESSAGE = "The upstream service could not accept this request."; export declare const NATIVE_MAX_ERROR_BODY_BYTES = 65536; export declare const NATIVE_MAX_PUBLIC_MESSAGE_BYTES = 4096; export declare const CLASSIFIER_BETA = "auto-mode-classifier-2026-07-16"; export declare const DANGEROUS_TOOL_BETA = "dangerous-tool-use-2026-09-03"; export declare const SAFEGUARDS_NOT_SUPPORTED_MESSAGE = "safeguards is not supported by this gateway route; retry without safeguards."; export interface IdentifierScanStats { runs: number; checks: number; work: number; } export declare const neutralizeFeatureIdentifiers: (text: string, stats?: IdentifierScanStats) => string; export declare const detectNativeBillingError: (message: string, stats?: IdentifierScanStats) => boolean; export declare const sanitizeNativeErrorMessage: (message: string) => string; export declare const isProcessedNativeValidationDetail: (detail: unknown) => boolean; export declare const parseNativeErrorDetail: (rawBody: string | Uint8Array, status: number, options?: { readonly requestSafeguards?: boolean; readonly sentBetas?: readonly string[]; }) => NativeValidationPublicDetail; //# sourceMappingURL=native-errors.d.ts.map