import { WINDOW_REFERENCE } from './constants'; import type { Reference } from './serialize'; export type WindowRef = { readonly type: typeof WINDOW_REFERENCE.OPENER; } | { readonly type: typeof WINDOW_REFERENCE.PARENT; readonly distance: number; } | { readonly type: typeof WINDOW_REFERENCE.GLOBAL; readonly uid: string; } | { readonly type: typeof WINDOW_REFERENCE.NAME; readonly name: string; }; type BuildChildWindowNameOptions = { readonly name: string; readonly serializedPayload: string; }; export declare const buildChildWindowName: ({ name, serializedPayload }: BuildChildWindowNameOptions) => string; type InitialParentPayload = { readonly parent: { readonly domain: string; readonly win: Window; }; readonly payload: Payload; readonly reference: Reference; }; export declare const getInitialParentPayload: () => InitialParentPayload; export declare const isChildComponentWindow: (name: string) => boolean; type UpdateChildWindowNameWithRefOptions = { readonly componentName: string; readonly parentComponentWindow: Window; }; export declare const updateChildWindowNameWithRef: ({ componentName, parentComponentWindow }: UpdateChildWindowNameWithRefOptions) => string | undefined; export {}; //# sourceMappingURL=window.d.ts.map