import type { AddressSurface, ExtraFieldDefinition } from './types.js'; /** * Registers an extra field. From `bootstrap.ts` only: throws after the lock, * when the id is one of the shared columns, or when the id is already taken. * The definition is copied; later mutation of the argument has no effect. */ export declare function registerAddressField(def: ExtraFieldDefinition): void; /** * Registered extras in registration order, filtered by `countries` and * `surfaces`. An absent argument does not filter (every extra is returned); * an argument filters to extras that are unscoped or that list the value, so * `getAddressExtras('', surface)` yields only country-agnostic extras. */ export declare function getAddressExtras(country?: string, surface?: AddressSurface): ExtraFieldDefinition[]; export declare function __resetAddressExtrasForTests(): void;