import { AptlyUnitSchema } from './unit.js';
export interface AptlyAddress {
    line1?: string;
    line2?: string;
    street?: string;
    zip?: string;
    city?: string;
    county?: string;
    country?: string;
    location?: AptlyAddressLocation | null;
}
export interface AptlyAddressLocation {
    type: 'Point';
    coordinates: [lng: number, lat: number];
}
export interface AptlyAddressSearchQuery {
    q?: string;
    lat?: number;
    lng?: number;
}
export type AptlySearchAddress = AptlySearchAddressSchema<string, string>;
export interface AptlySearchAddressSchema<ID, DATE> extends Pick<AptlyUnitSchema<ID, DATE>, 'shipping' | 'houseNumber' | 'entrance' | 'countyNumber' | 'holdingNumber' | 'subHoldingNumber' | 'leaseNumber' | 'sectionNumber' | 'unitNumber'> {
    _id: string;
    name: string;
    unitNumbers?: string[];
}
