export default function sendToPlugin(key: string, payload: any): void;