/** * Shares the specified URL with the passed to the chats, selected by user. * After being called, it closes the mini application. * * This method uses Telegram's Share Links. * @param url - URL to share. * @param text - text to append after the URL. * @throws {FunctionNotAvailableError} The environment is unknown * @throws {FunctionNotAvailableError} The SDK is not initialized * @throws {InvalidArgumentsError} Invalid URL passed * @see https://core.telegram.org/api/links#share-links * @see https://core.telegram.org/widgets/share#custom-buttons */ export declare const shareURL: import('../../wrappers/wrapSafe.js').SafeWrapped<(url: string, text?: string) => void, false, never>;