import { OnInit } from '@angular/core';
import { Address, TranslationService } from '@spartacus/core';
import { Observable } from 'rxjs';
import { Card } from '../../../shared/components/card';
import { AddressBookComponentService } from './address-book.component.service';
import * as i0 from "@angular/core";
export declare class AddressBookComponent implements OnInit {
    service: AddressBookComponentService;
    protected translation: TranslationService;
    addresses$: Observable<Address[]>;
    cards$: Observable<Card[]>;
    addressesStateLoading$: Observable<boolean>;
    currentAddress: Address;
    showAddAddressForm: boolean;
    showEditAddressForm: boolean;
    editCard: string;
    constructor(service: AddressBookComponentService, translation: TranslationService);
    ngOnInit(): void;
    addAddressButtonHandle(): void;
    editAddressButtonHandle(address: Address): void;
    addAddressSubmit(address: Address): void;
    addAddressCancel(): void;
    editAddressSubmit(address: Address): void;
    editAddressCancel(): void;
    getCardContent(address: Address): Observable<{
        textBold: string;
        text: string[];
        actions: {
            name: string;
            event: string;
        }[];
        header: string;
        deleteMsg: string;
    }>;
    setAddressAsDefault(addressId: string): void;
    deleteAddress(addressId: string): void;
    setEdit(addressId: string): void;
    cancelCard(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AddressBookComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AddressBookComponent, "cx-address-book", never, {}, {}, never, never>;
}
