/**
 * Provides helper functions to allow sending {@link postMessage} events.
 */
declare const usePostMessageSender: () => {
    sendMessage: (message: unknown, targetWindow: WindowProxy | null | undefined, targetOrigin?: string) => void;
    sendMessageToParent: (message: unknown, targetOrigin?: string) => void;
    sendMessageToTop: (message: unknown, targetOrigin?: string) => void;
    sendMessageToAllIframes: (message: unknown, targetOrigin?: string) => void;
};
export default usePostMessageSender;
