1 | import { ApolloConfig } from "./config";
|
2 | export declare const legacyKeyEnvVar = "ENGINE_API_KEY";
|
3 | export declare const keyEnvVar = "APOLLO_KEY";
|
4 | export interface LoadConfigSettings {
|
5 | configPath?: string;
|
6 | configFileName?: string;
|
7 | requireConfig?: boolean;
|
8 | name?: string;
|
9 | type?: "service" | "client";
|
10 | }
|
11 | export declare type ConfigResult<T> = {
|
12 | config: T;
|
13 | filepath: string;
|
14 | } | null;
|
15 | export declare function loadConfig({ configPath, configFileName, requireConfig, name, type, }: LoadConfigSettings): Promise<void | ApolloConfig>;
|
16 |
|
\ | No newline at end of file |