UNPKG

871 BTypeScriptView Raw
1/**
2 * Copyright (c) 2017-present, Ephox, Inc.
3 *
4 * This source code is licensed under the Apache 2 license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 */
8import { EditorComponent } from '../editor/editor.component';
9declare const bindHandlers: (ctx: EditorComponent, editor: any, initEvent: Event) => void;
10declare const uuid: (prefix: string) => string;
11declare const isTextarea: (element?: Element) => element is HTMLTextAreaElement;
12declare const normalizePluginArray: (plugins?: string | string[]) => string[];
13declare const mergePlugins: (initPlugins: string | string[], inputPlugins?: string | string[]) => string[];
14declare const noop: (...args: any[]) => void;
15declare const isNullOrUndefined: (value: any) => value is null;
16export { bindHandlers, uuid, isTextarea, normalizePluginArray, mergePlugins, noop, isNullOrUndefined };