declare global {
    const __non_webpack_require__: NodeRequire | undefined;
    const __webpack_require__: NodeRequire | undefined;
}
/**
 * Parse the edgeConfigId and token from an Edge Config Connection String.
 *
 * Edge Config Connection Strings look like this:
 * https://edge-config.vercel.com/<edgeConfigId>?token=<token>
 *
 * @param text - A potential Edge Config Connection String
 * @returns The id and token parsed from the given Connection String or null if
 * the given text was not a valid Edge Config Connection String.
 */
declare function parseConnectionString(text: string): {
    id: string;
    token: string;
} | null;
/**
 * Edge Config Client
 */
interface EdgeConfigClient {
    get: <T = any>(key: string) => Promise<T | undefined>;
    getAll: <T = any>(keys?: (keyof T)[]) => Promise<T | undefined>;
    has: (key: string) => Promise<boolean>;
    digest: () => Promise<string>;
}
/**
 * Creates a deep clone of an object.
 */
declare function createClient(connectionString: string | undefined): EdgeConfigClient;
declare const get: EdgeConfigClient['get'];
declare const getAll: EdgeConfigClient['getAll'];
declare const has: EdgeConfigClient['has'];
declare const digest: EdgeConfigClient['digest'];

export { EdgeConfigClient, createClient, digest, get, getAll, has, parseConnectionString };
