export type FindInPageChannelMessagePayload = {
    type: 'close';
} | {
    type: 'find-text-changed';
    value: string;
} | {
    type: 'focus-input';
} | {
    type: 'hide-from-search-menu';
} | {
    type: 'next-result';
} | {
    type: 'previous-result';
} | {
    type: 'show';
} | {
    type: 'update-state';
    currentResultIndex?: number | null;
    totalResults?: number | null;
    value?: string | null;
} | {
    type: 'view-ready';
} | {
    type: 'window-ready';
};
/**
 * Closes the find in page channel
 */
export declare const closeFindInPageChannel: (channel: BroadcastChannel) => void;
/**
 * Creates a new find in page channel
 */
export declare const createFindInPageChannel: (windowName?: string) => Promise<BroadcastChannel>;
/**
 * Sends a message via the find in page channel
 */
export declare const sendFindInPageMessage: (channel: BroadcastChannel, message: FindInPageChannelMessagePayload) => void;
