1 | import { BaseConfig, BearerConfig, IntegrationConfig, TAccessToken } from '../types';
|
2 | export declare class Config {
|
3 | readonly runPath: string;
|
4 | integrationLocation: string;
|
5 | constructor(runPath: string);
|
6 | readonly command: 'yarn' | 'npm';
|
7 | readonly bearerConfig: BearerConfig;
|
8 | readonly integrationConfig: IntegrationConfig;
|
9 | readonly integrationRc: string;
|
10 | readonly integrationTitle: string | undefined;
|
11 | readonly BUID: string | undefined;
|
12 | readonly bearerUid: string;
|
13 | readonly hasIntegrationLinked: boolean;
|
14 | readonly rootPath: string | null;
|
15 | readonly isYarnInstalled: boolean;
|
16 | setIntegrationConfig: (config: {
|
17 | integrationTitle: string;
|
18 | integrationId: string;
|
19 | }) => void;
|
20 | storeToken: (token: TAccessToken) => Promise<void>;
|
21 | getToken(): Promise<TAccessToken | undefined>;
|
22 | }
|
23 | declare const _default: (runPath?: string) => {
|
24 | constants: BaseConfig;
|
25 | config: Config;
|
26 | };
|
27 | export default _default;
|