import { EventEmitter } from "../../stencil.core";
export declare class CcTextarea {
    private richTextEl?;
    private textAreaEl?;
    private editorInstance;
    color: "primary" | "secondary";
    label?: string;
    error?: boolean;
    success?: boolean;
    disabled?: boolean;
    placeholder?: string;
    name?: string;
    rich?: boolean;
    value?: string;
    helperText?: string;
    enableImage?: boolean;
    imageService?: (file: any) => Promise<string>;
    focusTextEditor(): Promise<void>;
    validateName(newDisabled: boolean): void;
    toggleRichText(richNew: boolean, richOld: boolean): void;
    setValue(newValue: string): void;
    changeText: EventEmitter<string>;
    changeTextHandler(newText: string): void;
    setRichTextEditorDefaults(): void;
    enableRichTextEditor(): Promise<any>;
    setAdapterUpload(editor: any): void;
    disableRichTextEditor(): void;
    focusEditor: () => void;
    componentDidLoad(): void;
    componentDidUnload(): void;
    render(): any;
}
