import { ErrorUnion, PassportAuthorizationFormUnion } from '../outputs'; /** * Returns a Telegram Passport authorization form for sharing data with a service * @param {Object} params * @param {number} [params.botUserId] - User identifier of the service's bot * @param {string} [params.scope] - Telegram Passport element types requested by * the service * @param {string} [params.publicKey] - Service's public_key * @param {string} [params.nonce] - Authorization form nonce provided by the service * @param {Object} state * @returns {PassportAuthorizationFormUnion | ErrorUnion} */ export declare type GetPassportAuthorizationFormMethod = (params: GetPassportAuthorizationFormParams, state?: Record) => Promise; export interface GetPassportAuthorizationFormParams { /** User identifier of the service's bot */ botUserId?: number; /** Telegram Passport element types requested by the service */ scope?: string; /** Service's public_key */ publicKey?: string; /** Authorization form nonce provided by the service */ nonce?: string; }