import { type JsonValue, type Provider, type ResolutionDetails } from "@openfeature/web-sdk";
/**
 * QueryParamProvider reads feature flags from URL query parameters.
 *
 * Usage:
 *   const params = new URLSearchParams(window.location.search);
 *   const provider = new QueryParamProvider(params);
 *   await OpenFeature.setProviderAndWait(provider);
 *
 * Query parameter format:
 *   ?FEATURE_DUAL_ACTION_CREATE_ENABLED=true&FEATURE_FOO=false
 */
export declare class QueryParamProvider implements Provider {
    readonly runsOn: "client";
    readonly metadata: {
        readonly name: "QueryParamProvider";
    };
    private flags;
    constructor(searchParams: URLSearchParams);
    resolveBooleanEvaluation(flagKey: string, defaultValue: boolean): ResolutionDetails<boolean>;
    resolveStringEvaluation(flagKey: string, defaultValue: string): ResolutionDetails<string>;
    resolveNumberEvaluation(flagKey: string, defaultValue: number): ResolutionDetails<number>;
    resolveObjectEvaluation<T extends JsonValue>(flagKey: string, defaultValue: T): ResolutionDetails<T>;
}
/**
 * Initialize OpenFeature with the QueryParamProvider.
 * Reads feature flags from query parameters.
 */
export declare function initFeatureFlags(searchParams?: URLSearchParams): Promise<Map<string, boolean>>;
/**
 * If true, reads go through legacy reactor.
 *
 * If false, reads go through the new reactor.
 */
export declare function isLegacyReadEnabled(): Promise<boolean>;
/**
 * If true, writes go through legacy reactor.
 *
 * If false, writes go through the new reactor.
 */
export declare function isLegacyWriteEnabled(): Promise<boolean>;
/**
 * If true, sync through channels and disables sync through legacy reactor.
 *
 * If false, sync through legacy reactor and disables sync through channels.
 */
export declare function isChannelSyncEnabled(): Promise<boolean>;
/**
 * If true, shows the inspector button in the sidebar.
 * Defaults to false (hidden).
 */
export declare function isInspectorEnabled(): Promise<boolean>;
//# sourceMappingURL=feature-flags.d.ts.map