UNPKG

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