import type { Intersect } from '../../../utils'; import type { Attribute } from '../..'; /** * Represents a boolean Strapi attribute along with its options */ type BooleanAttribute = Intersect<[ Attribute.OfType<'boolean'>, Attribute.ConfigurableOption, Attribute.DefaultOption, Attribute.PrivateOption, Attribute.RequiredOption, Attribute.WritableOption, Attribute.VisibleOption ]>; export type BooleanValue = boolean; export type GetBooleanValue = T extends BooleanAttribute ? BooleanValue : never; export type Boolean = BooleanAttribute; export {}; //# sourceMappingURL=boolean.d.ts.map