import React from 'react';
import type { InsertPosition } from '../types';
import type { SlotConfigType } from '../types/slot-config-type';
import type { InputRef } from '../types/input-ref';
import type { SkillType } from '../types/skill-type';
export interface SlotTextAreaRef {
    focus: (options?: FocusOptions) => void;
    blur: InputRef['blur'];
    nativeElement: InputRef['nativeElement'];
    insert: (slotConfig: SlotConfigType[], position?: InsertPosition, replaceCharacters?: string, preventScroll?: boolean) => void;
    clear: () => void;
    getValue: () => {
        value: string;
        slotConfig: SlotConfigType[];
        skill?: SkillType;
    };
}
interface InputFocusOptions {
    preventScroll?: boolean;
    cursor?: 'start' | 'end' | 'all';
}
interface SlotFocusOptions {
    preventScroll?: boolean;
    cursor?: 'slot';
    key?: string;
}
type FocusOptions = SlotFocusOptions | InputFocusOptions;
declare const SlotTextArea: React.ForwardRefExoticComponent<React.RefAttributes<SlotTextAreaRef>>;
export default SlotTextArea;
