import { SidebarMenuItemKey, OnEditPayload, OnChangePayload } from './types';
import { FormFieldValidity } from '../form-field';
export type SidebarMenuItemEditFormProps = {
    initValue: string;
    itemKey: SidebarMenuItemKey;
    onExit: () => void;
    onSubmit: ({ key, val, level }: OnEditPayload) => void;
    onChange?: ({ key, val, level }: OnChangePayload) => void;
    level: number;
    validity?: FormFieldValidity;
    editItemInputPlaceholder: string;
};
export declare function SidebarMenuItemEditForm({ initValue, itemKey, onExit, onSubmit, onChange, level, validity, editItemInputPlaceholder, }: SidebarMenuItemEditFormProps): import("react/jsx-runtime").JSX.Element;
