export default function wrapInvoke({ type, data }: { type: string; data?: any; }): Promise;