Skip to main content
Glama
web-experiments.d.ts1 kB
import { PostHog } from './posthog-core'; import { WebExperimentsCallback, WebExperimentUrlMatchType } from './web-experiments-types'; export declare const webExperimentUrlValidationMap: Record<WebExperimentUrlMatchType, (conditionsUrl: string, location: Location) => boolean>; export declare class WebExperiments { private instance; private _flagToExperiments?; constructor(instance: PostHog); onFeatureFlags(flags: string[]): void; previewWebExperiment(): void; loadIfEnabled(): void; getWebExperimentsAndEvaluateDisplayLogic: (forceReload?: boolean) => void; getWebExperiments(callback: WebExperimentsCallback, forceReload: boolean, previewing?: boolean): void; private showPreviewWebExperiment; private static matchesTestVariant; private static matchUrlConditions; static getWindowLocation(): Location | undefined; private static matchUTMConditions; private static logInfo; private applyTransforms; _is_bot(): boolean | undefined; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sadiuysal/mem0-mcp-server-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server