import React from 'react';
import type { PropsWithChildren } from 'react';
import type { OutgoingMessage } from '../../types';
type PostMessageProviderValue = {
    sendMessage: (message: OutgoingMessage) => void;
};
type PostMessageProviderProps = PropsWithChildren<{
    enabled: boolean;
}>;
export declare const PostMessageContext: React.Context<PostMessageProviderValue>;
export declare function PostMessageProvider({ children, enabled }: PostMessageProviderProps): React.JSX.Element;
export {};
//# sourceMappingURL=PostMessageProvider.d.ts.map