import { VerdocsEndpoint, ITemplate } from '@verdocs/js-sdk';
import { EventEmitter } from '../../../stencil-public-runtime';
import { SDKError } from '../../../utils/errors';
/**
 * Displays a clickable star that allows users to mark frequently-used templates.
 */
export declare class VerdocsTemplateStar {
    /**
     * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
     */
    endpoint: VerdocsEndpoint;
    /**
     * The template to display the star for.
     */
    template: ITemplate;
    /**
     * Event fired when the user toggles the star on or off. The event detail will contain
     * the new "starred" status and count.
     */
    starChange: EventEmitter<{
        templateId: string;
        starred: boolean;
        count: number;
    }>;
    /**
     * 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>;
    updating: boolean;
    componentWillLoad(): Promise<void>;
    toggle(e: any): void;
    render(): any;
}
