import { Component, TypeDefs } from 'intact-vue'; import type { AutoRows } from '../input'; import type { Events } from '../types'; type Value = string | number; export interface EditableProps { editing?: boolean; value?: V; required?: boolean; validate?: ((v: string) => boolean) | string | RegExp; disabled?: boolean; tip?: Value; trim?: boolean; invalid?: boolean; rows?: string | number | 'auto' | AutoRows; } export interface EditableEvents { error: [string]; change: [string, V | undefined]; } export declare class Editable extends Component, EditableEvents> { static template: string | import('intact-vue').Template; static typeDefs: Required>>; static defaults: () => Partial>; static events: Events>; private inputRef; private config; private edit; select(): void; private onBlur; private onKeydown; private setValue; } export {};