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 VerdocsEnvelopeRecipientLink {
    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 redirect the user to the appropriate next workflow step.
     */
    next: EventEmitter<{
        envelope: IEnvelope;
    }>;
    /**
     * 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;
    recipient: IRecipient | null;
    componentWillLoad(): Promise<void>;
    disconnectedCallback(): void;
    listenToEnvelope(): Promise<void>;
    unlistenToEnvelope(): void;
    handleDone(e: any): void;
    copyLink(link: string): void;
    getLink(recipient: IRecipient): void;
    render(): any;
}
