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 isIntegrationLocation: boolean;
|
8 | readonly bearerConfig: BearerConfig;
|
9 | readonly integrationConfig: IntegrationConfig;
|
10 | readonly integrationRc: string;
|
11 | readonly orgId: string | undefined;
|
12 | readonly integrationTitle: string | undefined;
|
13 | readonly integrationId: string | undefined;
|
14 | readonly integrationUuid: string;
|
15 | readonly hasIntegrationLinked: boolean;
|
16 | readonly rootPath: string | null;
|
17 | readonly isYarnInstalled: boolean;
|
18 | setIntegrationConfig: (config: {
|
19 | integrationTitle: string;
|
20 | orgId: string;
|
21 | integrationId: string;
|
22 | }) => void;
|
23 | storeToken: (token: TAccessToken) => Promise<void>;
|
24 | getToken(): Promise<TAccessToken | undefined>;
|
25 | }
|
26 | declare const _default: (runPath?: string) => {
|
27 | constants: BaseConfig;
|
28 | config: Config;
|
29 | };
|
30 | export default _default;
|