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