posthog-js
Version:
Posthog-js allows you to automatically capture usage and send events to PostHog.
12 lines (11 loc) • 716 B
TypeScript
import type { PostHogConfig } from './types';
export type { FeatureFlagsConfig, FeatureFlagsConfigSource } from '@posthog/browser-common/feature-flags-config';
import type { FeatureFlagsConfig, FeatureFlagsConfigSource } from '@posthog/browser-common/feature-flags-config';
/** Mutable browser-v1 mapping kept outside the extension-facing config source. */
export declare class MutableFeatureFlagsConfigSource implements FeatureFlagsConfigSource {
private _snapshot;
private _loggedEvaluationEnvironmentsDeprecation;
constructor(config: PostHogConfig, remoteRequestsDisabled?: boolean);
update(config: PostHogConfig, remoteRequestsDisabled: boolean): void;
get(): Readonly<FeatureFlagsConfig>;
}