/** * Address formatting pipes * Various pipes for formatting and displaying address components */ import { PipeTransform } from '@angular/core'; import { GeocodingResult, AddressComponents } from '../models/opencage-types'; import * as i0 from "@angular/core"; /** * Pipe to format address components into readable address string */ export declare class AddressFormatPipe implements PipeTransform { transform(result: GeocodingResult | null | undefined, format?: 'short' | 'long' | 'postal' | 'country' | 'custom', customTemplate?: string): string; /** * Format short address (street + city) */ private formatShort; /** * Format long address (full address without country) */ private formatLong; /** * Format postal address */ private formatPostal; /** * Format country information */ private formatCountry; /** * Format using custom template */ private formatCustom; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } /** * Pipe to extract specific address component */ export declare class AddressComponentPipe implements PipeTransform { transform(result: GeocodingResult | AddressComponents | null | undefined, component: keyof AddressComponents, fallback?: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } /** * Pipe to format multiple address components */ export declare class AddressComponentsPipe implements PipeTransform { transform(result: GeocodingResult | AddressComponents | null | undefined, components: Array, separator?: string, skipEmpty?: boolean): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } /** * Pipe to format confidence score */ export declare class ConfidencePipe implements PipeTransform { transform(confidence: number | null | undefined, format?: 'number' | 'percentage' | 'stars' | 'text', maxStars?: number): string; private confidenceToText; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } /** * Pipe to check if address is in specific country */ export declare class IsCountryPipe implements PipeTransform { transform(result: GeocodingResult | AddressComponents | null | undefined, countryCode: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; }