import { EventEmitter } from '../../../../stencil-public-runtime';
import { ComponentErrorEvent, ComponentFormStepCompleteEvent } from '../../../../api/ComponentEvents';
import { CountryCode } from '../../../../utils/country-codes';
import { FormController } from '../../../../ui-components/form/form';
import { IAddress } from '../../../../api/Business';
export declare class LegalAddressFormStep {
    getBusiness: Function;
    patchBusiness: Function;
    formController: FormController;
    errors: any;
    legal_address: IAddress;
    isLoading: boolean;
    authToken: string;
    businessId: string;
    allowOptionalFields?: boolean;
    country?: CountryCode;
    propChanged(): void;
    errorEvent: EventEmitter<ComponentErrorEvent>;
    stepCompleteEvent: EventEmitter<ComponentFormStepCompleteEvent>;
    formLoading: EventEmitter<boolean>;
    validateAndSubmit({ onSuccess }: {
        onSuccess: any;
    }): Promise<void>;
    get patchPayload(): {
        legal_address: {
            platform_account_id: string;
            line1: string;
            line2: string;
            postal_code: string;
            city: string;
            state: string;
            country: string;
        };
    };
    componentWillLoad(): void;
    componentDidLoad(): void;
    private initializeApi;
    private getData;
    private sendData;
    inputHandler: (name: string, value: string) => void;
    render(): any;
}
