@flags-sdk/statsig
Version:
Statsig provider for the Flags SDK
29 lines (26 loc) • 617 B
TypeScript
import { ProviderData } from 'flags';
declare function getProviderData(options: {
/**
* Required to set the `origin` property on the flag definitions.
*/
projectId?: string;
} & ({
/**
* The Statsig Console API key.
*/
consoleApiKey: string;
/**
* @deprecated Use `consoleApiKey` instead.
*/
statsigConsoleApiKey?: never;
} | {
/**
* @deprecated Use `consoleApiKey` instead.
*/
statsigConsoleApiKey: string;
/**
* The Statsig Console API key.
*/
consoleApiKey?: never;
})): Promise<ProviderData>;
export { getProviderData };