import { onInvoiceClosed } from '../events'; /** * @deprecated Use [`useMiniApp`](https://vue-tg.deptyped.com/mini-apps.html#useminiapp) instead */ export declare function useWebAppNavigation(): { switchInlineQuery: (query: string, choose_chat_types?: string[]) => void; openLink: (url: string, options?: { try_instant_view: boolean; }) => void; openTelegramLink: (url: string) => void; openInvoice: { (url: string): Promise<"cancelled" | "paid" | "failed" | "pending">; (url: string, callback?: ((status: "cancelled" | "paid" | "failed" | "pending") => void) | undefined): void; }; /** * @deprecated import directly from `vue-tg` instead. */ onInvoiceClosed: typeof onInvoiceClosed; };