import type { EdgeConfigClient } from '@vercel/edge-config'; /** * Creates a storage wrapper instance for Vercel Edge Config. * * @param options - The configuration options. * @param options.edgeConfigItemKey - Item key used to get Split feature flag definitions from Edge Config. * @param options.edgeConfig - The Edge Config client instance. * @returns A storage wrapper instance. */ export declare function EdgeConfigWrapper(options: { edgeConfigItemKey: string; edgeConfig: EdgeConfigClient; }): { connect(): Promise; disconnect(): Promise; /** * Get the value of given `key`. * * @param key - Item to retrieve * @returns A promise that resolves with the element value associated with the specified `key`, * or null if the key does not exist. */ get(key: string): Promise; /** * Returns all keys matching the given prefix. * * @param prefix - String prefix to match * @returns A promise that resolves with the list of keys that match the given `prefix`. */ getKeysByPrefix(prefix: string): Promise; /** * Returns the values of all given `keys`. * * @param keys - List of keys to retrieve * @returns A promise that resolves with the list of items associated with the specified list of `keys`. * For every key that does not hold a string value or does not exist, null is returned. */ getMany(keys: string[]): Promise<(string | null)[]>; /** * Returns if item is a member of a set. * * @param key - Set key * @param item - Item value * @returns A promise that resolves with true boolean value if `item` is a member of the set stored at `key`, * or false if it is not a member or `key` set does not exist. */ itemContains(key: string, item: string): Promise; /** * Returns all the items of the `key` set. * * @param key - Set key * @returns A promise that resolves with the list of items. If key does not exist, the result is an empty list. */ getItems(key: string): Promise; set(key: string, value: string): Promise; getAndSet(key: string, value: string): Promise; del(key: string): Promise; incr(key: string): Promise; decr(key: string): Promise; addItems(key: string, items: string[]): Promise; removeItems(key: string, items: string[]): Promise; pushItems(key: string, items: string[]): Promise; popItems(key: string, count: number): Promise; getItemsCount(key: string): Promise; };