import { type Ref } from 'vue'; export declare const channel: { on(type: string, handler: (data: any) => void): void; off(type: string, handler?: (data: any) => void): void; emit(type: string, data: any): void; }; export declare function sendMessage(message: { type: string; data?: any; }): void; export declare function useBuildChannel(iframe: Ref): void;