"""Общий код нормализации форм ББ/ОФР. Публичный API — только имена `__all__` (раздел «Публичный API пакета» плана 1). Контрактные имена — `contract.py`. """ from arm_statements.amounts import parse_amount from arm_statements.codes import parse_code, sheet_joins from arm_statements.columns import amount_columns from arm_statements.contract import status_input_from_contract, to_contract, warning_to_contract from arm_statements.dates import parse_date, resolve_relative from arm_statements.header import continuation_type, is_continuation, parse_header, type_hint from arm_statements.issues import WarningCode, make_warning from arm_statements.layout import code_column from arm_statements.loader import Rules, RulesError, default_rules, load_rules from arm_statements.model import ( HEADER_FIELDS, CandidateResult, Cell, CellValue, DateField, DocStatus, DocumentType, Edition, EnvelopeStatus, Evidence, FailedRelation, FormCandidate, FormVariant, HeaderCells, HeaderField, LineStatus, NormalizationResult, PeriodKind, Severity, SignForm, Source, StatementChecks, StatementColumn, StatementDocument, StatementHeader, StatementLine, StatementValue, StatementWarning, ) from arm_statements.pipeline import normalize, normalize_candidate from arm_statements.recompute import ( RecomputeResult, StoredColumn, StoredForm, StoredLine, StoredValue, StoredWarning, recompute, ) from arm_statements.serialize import candidate_from_dict, to_jsonable from arm_statements.status import ( StatusInput, StatusLine, StatusValue, document_status, envelope_status, status_input, ) from arm_statements.structure import choose_edition from arm_statements.text import fix_lookalikes, normalize_caption, normalize_label from arm_statements.version import statements_version __all__ = [ "HEADER_FIELDS", "CandidateResult", "Cell", "CellValue", "DateField", "DocStatus", "DocumentType", "Edition", "EnvelopeStatus", "Evidence", "FailedRelation", "FormCandidate", "FormVariant", "HeaderCells", "HeaderField", "LineStatus", "NormalizationResult", "PeriodKind", "RecomputeResult", "Rules", "RulesError", "Severity", "SignForm", "Source", "StatementChecks", "StatementColumn", "StatementDocument", "StatementHeader", "StatementLine", "StatementValue", "StatementWarning", "StoredColumn", "StoredForm", "StoredLine", "StoredValue", "StoredWarning", "StatusInput", "StatusLine", "StatusValue", "WarningCode", "amount_columns", "candidate_from_dict", "choose_edition", "code_column", "continuation_type", "default_rules", "document_status", "envelope_status", "fix_lookalikes", "is_continuation", "load_rules", "make_warning", "normalize", "normalize_candidate", "normalize_caption", "normalize_label", "parse_amount", "parse_code", "parse_date", "parse_header", "recompute", "resolve_relative", "sheet_joins", "statements_version", "status_input", "status_input_from_contract", "to_contract", "to_jsonable", "type_hint", "warning_to_contract", ]