import type { Config } from "@react-native-community/cli-types";
/**
 * Finds path to `@react-native-community/cli`.
 * @param root Project root
 * @param reactNativePath Path to `react-native`, if known
 */
export declare function resolveCommunityCLI(root: string, reactNativePath?: string): string;
/**
 * Equivalent to calling `loadConfig()` from `@react-native-community/cli`, but
 * the result is cached for faster subsequent accesses.
 * @param root Project root; defaults to current working directory
 */
export declare function loadContext(root?: string): Config;
//# sourceMappingURL=context.d.ts.map