UNPKG

517 BTypeScriptView Raw
1import BaseCommand from '../base-command';
2export declare class Client {
3 private readonly command;
4 private instance;
5 constructor(command: BaseCommand);
6 request<DataReturned>(data: {
7 query: string;
8 variables?: any;
9 }): Promise<import("axios").AxiosResponse<{
10 data?: DataReturned | undefined;
11 errors?: any;
12 }>>;
13}
14export declare const devPortalClient: (command: BaseCommand) => Client;
15export declare function withFreshToken(command: BaseCommand): Promise<void>;