declare module 'react-frame-component' { import * as React from 'react'; export interface FrameComponentProps extends React.IframeHTMLAttributes { head?: React.ReactNode | undefined; mountTarget?: string | undefined; initialContent?: string | undefined; contentDidMount?: (() => void) | undefined; contentDidUpdate?: (() => void) | undefined; children: React.ReactNode; ref?: React.Ref; } export default class FrameComponent extends React.Component< FrameComponentProps > {} export interface FrameContextProps { document?: HTMLDocument; window?: Window; } export const FrameContext: React.Context; export const FrameContextProvider: React.Provider; export const FrameContextConsumer: React.Consumer; export function useFrame(): FrameContextProps; }