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