import React from 'react'; import { FrameProps } from '../Frame'; import type { RouterContext } from '../HostProvider'; import { ComponentProps } from '../types'; import { WithFeature } from '../store/reducers/embeddedApp/navigation'; interface ExtraProps extends Pick { onLocationUpdate?(location: RouterContext['location']): void; [key: string]: any; } type ComposedProps = WithFeature & ExtraProps; /** * Renders a Frame component with the Context set to `Main` * Handles updating the iframe url for all app-related Navigation actions * @public * @requires RouterContext * @requires HostContext * */ export declare function MainFrame(props: ComposedProps): React.JSX.Element; /** * The MainFrame component with the Navigation feature * @public * */ declare const _default: import("@shopify/react-compose").ReactComponent & import("@shopify/useful-types").NonReactStatics & typeof MainFrame>; export default _default;