UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

17 lines 709 B
import type { ClientFeaturesResponse, FeatureInterface } from '../feature.js'; import type { Segment } from '../strategy/strategy.js'; export interface BootstrapProvider { readBootstrap(): Promise<ClientFeaturesResponse | undefined>; } export interface BootstrapOptions { data: FeatureInterface[]; segments?: Segment[]; } export declare class DefaultBootstrapProvider implements BootstrapProvider { private data?; private segments?; constructor(options: BootstrapOptions); readBootstrap(): Promise<ClientFeaturesResponse | undefined>; } export declare function resolveBootstrapProvider(options: BootstrapOptions): BootstrapProvider; //# sourceMappingURL=bootstrap-provider.d.ts.map