UNPKG

@wordpress/media-utils

Version:
36 lines 919 B
/** * WordPress dependencies */ import { Component } from '@wordpress/element'; declare class MediaUpload extends Component { constructor(); initializeListeners(): void; /** * Sets the Gallery frame and initializes listeners. * * @return {void} */ buildAndSetGalleryFrame(): void; /** * Initializes the Media Library requirements for the featured image flow. * * @return {void} */ buildAndSetFeatureImageFrame(): void; /** * Initializes the Media Library requirements for the single image flow. * * @return {void} */ buildAndSetSingleMediaFrame(): void; componentWillUnmount(): void; onUpdate(selections: any): void; onSelect(): void; onOpen(): void; onClose(): void; updateCollection(): void; openModal(): void; render(): any; } export default MediaUpload; //# sourceMappingURL=index.d.ts.map