import React from 'react'; import type { IScopedContext, RendererProps } from 'jamis-core'; import { ScopedContext } from 'jamis-core'; import type { IFrameSchema } from './types'; interface IFrameProps extends RendererProps, Omit { } export default class IFrame extends React.Component { IFrameRef: React.RefObject; static propsList: Array; static defaultProps: Partial; state: { width: string | number; height: string | number; }; componentDidMount(): void; componentDidUpdate(prevProps: IFrameProps): void; componentWillUnmount(): void; onMessage(e: MessageEvent): void; onLoad(): void; reload(subpath?: any, query?: any): void; receive(values: object): void; postMessage(type: string, data: any): void; render(): JSX.Element; } export declare class IFrameRenderer extends IFrame { static contextType: React.Context>>; context: React.ContextType; constructor(props: IFrameProps, context: IScopedContext); componentWillUnmount(): void; } export {};