import { IEnvelope } from '@verdocs/js-sdk';
import { EventEmitter } from '../../../stencil-public-runtime';
import { VerdocsEndpoint } from '@verdocs/js-sdk';
import { SDKError } from '../../../utils/errors';
/**
 * Typically presented by the `verdocs-sign` component. Displays a footer toolbar
 * with a few convenience functions for the envelope recipient to use.
 */
export declare class VerdocsSignFooter {
    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 render. Set ONE OF templateId or envelopeId. If both are set, envelopeId will be ignored.
     */
    envelopeId: string;
    /**
     * If the recipient is "done," some buttons will be hidden.
     */
    isDone: boolean;
    /**
     * Event fired if the user asks the sender a question. The parent component is responsible for handling this.
     */
    askQuestion: EventEmitter<{
        question: string;
    }>;
    /**
     * Event fired if the user asks the sender a question. The parent component is responsible for handling this.
     */
    decline: EventEmitter;
    /**
     * Event fired if the user asks the sender a question. The parent component is responsible for handling this.
     */
    finishLater: EventEmitter;
    /**
     * 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>;
    /**
     * Event fired when the envelope is updated in any way. May be used for tasks such as cache invalidation or reporting to other systems.
     */
    askingQuestion: boolean;
    declinine: boolean;
    envelope: IEnvelope | null;
    componentWillLoad(): Promise<void>;
    disconnectedCallback(): void;
    listenToEnvelope(): Promise<void>;
    unlistenToEnvelope(): void;
    render(): any;
}
