/** * @module * This module exports a class to create a minimal version of * AzureConfigurationClient which can be used by this library. */ import { type ConfigurationSetting, type FeatureFlagServiceWithKeyOptions, type FeatureFlagServiceOptions } from "./utils/app-config.js"; export type { ConfigurationSetting, FeatureFlagServiceOptions, FeatureFlagServiceWithKeyOptions, } from "./utils/app-config.js"; /** * A lightweight alternative to Azure's AppConfigurationClient to generate * a client for working with Feature Flags. * * > [Note] This `lite` alternative should NOT be used outside the scope of this library. * * @example * ```ts * import { AppConfigurationClientLite } from "azure-feature-flags/client"; * const connectionString = process.env.AZURE_CONFIG_ACCESS_STRING; * const client = new AppConfigurationClientLite(connectionString); * // ^ use this client anywhere in this library's services. * ``` */ export declare class AppConfigurationClientLite { #private; constructor(connectionString: string); list(options?: FeatureFlagServiceOptions): Promise>; get({ keyFilter, ...options }: FeatureFlagServiceWithKeyOptions): Promise; delete({ keyFilter, ...options }: FeatureFlagServiceWithKeyOptions): Promise; set(setting: ConfigurationSetting, options?: FeatureFlagServiceOptions): Promise; }