UNPKG

642 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 * as PropTypes from 'prop-types';
9import { IEvents } from '../Events';
10import { IProps } from './Editor';
11export declare type CopyProps<T> = {
12 [P in keyof T]: PropTypes.Requireable<unknown>;
13};
14export declare type IEventPropTypes = CopyProps<IEvents>;
15export interface IEditorPropTypes extends IEventPropTypes, CopyProps<IProps> {
16}
17export declare const eventPropTypes: IEventPropTypes;
18export declare const EditorPropTypes: IEditorPropTypes;