import { invoke } from '@tauri-apps/api/core' export async function ping(value: string): Promise { return await invoke<{value?: string}>('plugin:accept-cookie|ping', { payload: { value, }, }).then((r) => (r.value ? r.value : null)); }