import type { WebApp } from '../types/telegram-webapp'; export declare const apiVersions: readonly ["6.1", "6.2", "6.3", "6.4"]; export type APIVersion = typeof apiVersions[number]; export declare function checkIfAvailable(property: keyof WebApp): boolean; export declare const isVersionAtLeast: (version: string) => boolean; export declare function useVersion(): { version: string; isVersionAtLeast: (version: string) => boolean; checkIfAvailable: typeof checkIfAvailable; };