type BinaryValue = boolean | "on" | "off"; type PromiseLikeBinaryValue = PromiseLike; type UnaryFunction = () => T; type FlagValue = BinaryValue | UnaryFunction | UnaryFunction; /** * @example * ```ts * Flag({ * USER_PROFILE_V2: 'on', * USER_PROFILE_V3: () => 'on', * USER_PROFILE_V4: () => Promise.resolve('on'), * }) * ``` */ type PluginOption = Record; export type { PluginOption as P };