flags
Version:
Flags SDK by Vercel - The feature flags toolkit for Next.js and SvelteKit
21 lines (18 loc) • 609 B
TypeScript
import React from 'react';
import { c as FlagDefinitionsType, d as FlagValuesType } from './types-CGpl9epN.js';
import 'http';
import '@edge-runtime/cookies';
type Encrypted<T> = string;
/**
* Registers variant definitions with the toolbar
*/
declare function FlagDefinitions({ definitions, }: {
definitions: FlagDefinitionsType | Encrypted<FlagDefinitionsType>;
}): React.JSX.Element;
/**
* Registers variant values with the toolbar
*/
declare function FlagValues({ values, }: {
values: FlagValuesType | Encrypted<FlagValuesType>;
}): React.JSX.Element;
export { FlagDefinitions, FlagValues };