import { EventEmitter } from "../../stencil-public-runtime"; import { Color, Data } from "../../model"; import { Editable } from "./Editable"; import { Key } from "./Key"; import { Looks } from "./Looks"; export interface Input extends Input.Element { smoothlyInputLoad: EventEmitter<(parent: Editable) => void>; smoothlyInput: EventEmitter; smoothlyUserInput: EventEmitter; smoothlyKeydown?: EventEmitter; smoothlyInputForm?: EventEmitter>; parent: Editable | undefined; } export declare namespace Input { type UserInput = { name: string; value: T; }; interface Element { register: () => Promise; unregister: () => Promise; getValue: GetValue; disabled?: boolean; color?: Color; name: string; invalid?: boolean; looks?: Looks; defined?: boolean; binary?: Binary; } namespace Element { const type: import("isly/dist/types/object").IslyObject; const is: (value: Element | any) => value is Element; } type GetValue = () => Promise; type Binary = () => Promise; const type: import("isly/dist/types/object").IslyObject; const is: (value: Input | any) => value is Input; function formRemove(self: Input, name?: string): void; function formAdd(self: Input): void; function formRename(self: Input, oldName?: string): void; function registerSubAction(self: Input & Editable, event: CustomEvent<(parent: Editable) => void>): void; }