import type { DomainMatcher } from 'cross-domain-utils'; import type { ProxyWindow } from './proxy-window'; import type { Transport } from './types'; type SerializeMessageOptions = { readonly destination: Window | ProxyWindow; readonly domain: DomainMatcher; readonly value: unknown; readonly transport: Transport; }; export declare const serializeMessage: ({ destination, domain, value, transport }: SerializeMessageOptions) => string; type DeserializeMessageOptions = { readonly source: Window | ProxyWindow; readonly origin: string; readonly text: string; readonly transport: Transport; }; export declare const deserializeMessage: ({ source, origin, text, transport }: DeserializeMessageOptions) => T; export {}; //# sourceMappingURL=serialize.d.ts.map