1import { AppJSONConfig, ConfigContext, ExpoConfig } from './Config.types';
2declare type RawDynamicConfig = AppJSONConfig | Partial<ExpoConfig> | null;
3export declare type DynamicConfigResults = {
4    config: RawDynamicConfig;
5    exportedObjectType: string;
6};
7/**
8 * Transpile and evaluate the dynamic config object.
9 * This method is shared between the standard reading method in getConfig, and the headless script.
10 *
11 * @param options configFile path to the dynamic app.config.*, request to send to the dynamic config if it exports a function.
12 * @returns the serialized and evaluated config along with the exported object type (object or function).
13 */
14export declare function evalConfig(configFile: string, request: ConfigContext | null): DynamicConfigResults;
15/**
16 * - Resolve the exported contents of an Expo config (be it default or module.exports)
17 * - Assert no promise exports
18 * - Return config type
19 * - Serialize config
20 *
21 * @param result
22 * @param configFile
23 * @param request
24 */
25export declare function resolveConfigExport(result: any, configFile: string, request: ConfigContext | null): {
26    config: any;
27    exportedObjectType: "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
28};
29export {};
30