import { FocusOnContext } from '@focuson/focuson';
import { NameAnd } from '@focuson/utils';
import { CommonStateProps, InputEnabledProps, InputOnChangeProps, LabelAlignment } from "./common";
export interface TextareaProps<S, T, Context> extends CommonStateProps<S, T, Context>, LabelAlignment, InputOnChangeProps<S, Context> {
    maxlength?: number;
    readonly?: boolean;
    defaultValue?: string;
    value?: string;
    buttons?: string[];
    errorMessage?: string;
    scrollAfter?: string;
    noLabel?: boolean;
    enabledBy?: string[][];
}
export declare const cleanTextareaProps: <T extends NameAnd<any>>(p: T) => T;
export declare function TextAreaInput<S, T, Context extends FocusOnContext<S>>(props: TextareaProps<S, string, Context>): import("react/jsx-runtime").JSX.Element;
export interface LabelAndTextareaProps<S, T, Context> extends TextareaProps<S, T, Context>, LabelAlignment, InputEnabledProps {
    label: string;
    scrollAfter?: string;
    allButtons: NameAnd<JSX.Element>;
    maxlength?: number;
    placeholder?: string;
}
export declare function LabelAndTextarea<S, T, Context extends FocusOnContext<S>>(props: LabelAndTextareaProps<S, string, Context>): import("react/jsx-runtime").JSX.Element;
