import { EventEmitter } from '../../../stencil-public-runtime';
import { IEnvelope, IRecipient, VerdocsEndpoint } from '@verdocs/js-sdk';
import { SDKError } from '../../../utils/errors';
/**
 * Displays a single recipient from an envelope, with the opportunity to copy an in-person
 * signing link for that recipient to use.
 */
export declare class VerdocsEnvelopeUpdateRecipient {
    private envelopeListenerId;
    /**
     * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
     */
    endpoint: VerdocsEndpoint;
    /**
     * The envelope ID to edit.
     */
    envelopeId: string;
    /**
     * The role to load.
     */
    roleName: string;
    /**
     * Event fired when the user clicks Done to proceed. It is up to the host application
     * to save any updates and proceed to the next step.
     */
    next: EventEmitter<{
        action: 'cancel' | 'save';
        originalRecipient: IRecipient;
        updatedRecipient: IRecipient;
    }>;
    /**
     * Event fired if an error occurs. The event details will contain information about the error. Most errors will
     * terminate the process, and the calling application should correct the condition and re-render the component.
     */
    sdkError: EventEmitter<SDKError>;
    isOpen: boolean;
    gettingLink: boolean;
    link: string;
    loading: boolean;
    envelope: IEnvelope | null;
    originalRecipient: IRecipient | null;
    updatedRecipient: IRecipient | null;
    componentWillLoad(): Promise<void>;
    disconnectedCallback(): void;
    listenToEnvelope(): Promise<void>;
    unlistenToEnvelope(): void;
    handleSave(e: any): void;
    handleCancel(e: any): void;
    render(): any;
}
