import { ITemplate, VerdocsEndpoint } from '@verdocs/js-sdk';
import { EventEmitter } from '../../../stencil-public-runtime';
import { SDKError } from '../../../utils/errors';
export type TVerdocsBuildStep = 'attachments' | 'roles' | 'settings' | 'fields' | 'preview';
/**
 * Display a set of tabs for the template builder.
 */
export declare class VerdocsTemplateBuildTabs {
    private templateListenerId;
    /**
     * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
     */
    endpoint: VerdocsEndpoint;
    /**
     * The ID of the template to create the document from. Unlike most other components, this is an optional parameter here.
     * If the template ID is known, `step` may also be specified to force displaying a specific step in the creation process.
     * If it is not specified, `step` will be ignored and the create step will be shown.
     */
    templateId: string | null;
    /**
     * The step in the creation process to display.
     */
    step: TVerdocsBuildStep;
    /**
     * 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 user selects a different step.
     */
    stepChanged: EventEmitter<TVerdocsBuildStep>;
    loading: boolean;
    template: ITemplate | null;
    disconnectedCallback(): void;
    listenToTemplate(): Promise<void>;
    unlistenToTemplate(): void;
    onTemplateIdChanged(newTemplateId: string): void;
    onStepChanged(newStep: TVerdocsBuildStep): void;
    componentWillLoad(): Promise<void>;
    setStep(e: any): void;
    copyTemplateId(): void;
    render(): any;
}
