@shopify/app-bridge
Version:
**[Join our team and work on libraries like this one.](https://www.shopify.ca/careers)**
6 lines (5 loc) • 314 B
TypeScript
import type { HostFrame } from '../MessageTransport';
export declare function shouldRedirect(frame: HostFrame): boolean;
export declare function redirect(url: string): void;
export declare function getLocation(): Location | undefined;
export declare function getWindow(): (Window & typeof globalThis) | undefined;