import { ErrorUnion, UserUnion } from '../outputs'; /** * Returns information about a user by their identifier. This is an offline request * if the current user is not a bot * @param {Object} params * @param {number} [params.userId] - User identifier * @param {Object} state * @returns {UserUnion | ErrorUnion} */ export declare type GetUserMethod = (params: GetUserParams, state?: Record) => Promise; export interface GetUserParams { /** User identifier */ userId?: number; }