import { U as UfCode, D as DocumentFormat, V as ValidationErrorCode } from './validation-result-D4Wrxl7j.js'; type DetectableDocumentType = 'cpf' | 'cnpj' | 'cep' | 'placa' | 'pis-pasep' | 'pix' | 'telefone' | 'boleto' | 'cartao-credito' | 'ean' | 'cnh' | 'renavam' | 'nfe-chave' | 'titulo-eleitor' | 'processo-judicial' | 'inscricao-estadual' | 'inscricao-estadual-produtor-rural' | 'brcode' | 'unknown'; type DetectOptions = { uf?: UfCode; }; type DetectSuccess = { type: DetectableDocumentType; ok: true; value: string; format?: DocumentFormat; meta?: Record; }; type DetectFailure = { type: DetectableDocumentType; ok: false; code: ValidationErrorCode; message: string; }; type DetectResult = DetectSuccess | DetectFailure; declare function detect(raw: string, options?: DetectOptions): DetectResult; export { type DetectOptions, type DetectResult, type DetectableDocumentType, detect };