export declare namespace OAuth { interface UrlParams { applicationId: string; redirectUri: string; account?: string; } function createUrl(params: UrlParams): string; type Props = { id: string; secret: string; account: string; code: string; redirect: string; }; interface Data { access_token: string; account_number: string; user: { id: number; name: string; email: string; role_id: number; }; ownerInfo: { email: string; phone: string; city: string; country: string; name: string; company_name: string; }; tariff: { key: string; next_pay_date: string; price: number; }; } interface Error { code: number; error_type: string; error_message: string; } function getAccessToken(props: OAuth.Props): Promise; }