import { Component } from 'react'; declare class VESDK { /** * Modally present a video editor. * @note Edited videos from remote resources can be previewed in the editor but their export will * fail! Remote video resources are currently supported for debugging purposes only, e.g., when * loading videos with `require('./video.mp4')` for debug builds static video assets will be * resolved to remote URLs served by the development packager. * * @param {AssetURI | [AssetURI] | {uri: string}} video The source of the video to be edited. * Can be either an URI (local only), an object with a member `uri`, or an asset reference * which can be optained by, e.g., `require('./video.mp4')` as `number`. * * For video compositions an array of video sources is accepted as input. If an empty array is * passed to the editor `videoSize` must be set. You need to obtain a **valid license** for this * feature to work. * @param {Configuration} configuration The configuration used to initialize the editor. * @param {object} serialization The serialization used to initialize the editor. This * restores a previous state of the editor by re-applying all modifications to the loaded * video. * @param {Size} videoSize **Video composition only:** The size of the video in pixels that is about to be edited. * This overrides the natural dimensions of the video(s) passed to the editor. All videos will * be fitted to the `videoSize` aspect by adding black bars on the left and right side or top and bottom. * * @return {Promise} Returns a `VideoEditorResult` or `null` if the editor * is dismissed without exporting the edited video. */ static openEditor(video: any, configuration?: null, serialization?: null, videoSize?: null): any; /** * Unlock VideoEditor SDK with a license. * * @param {string | object} license The license used to unlock the SDK. Can be either an URI * pointing to a local `file://` resource that contains the license, the license as a string, * or the license as an object which can be optained by, e.g., `require('./vesdk_license')` * where the required license files must be named `./vesdk_license.ios.json` for the iOS license * and `./vesdk_license.android.json` for the Android license file in order to get automatically * resolved by the packager. */ static unlockWithLicense(license: any): void; } declare class VideoEditorModal extends Component { state: { visible: boolean; }; static getDerivedStateFromProps: (props: any, state: any) => { visible: any; }; render(): null; } export { VESDK, VideoEditorModal }; export * from './configuration';