import { BooleanValue, BooleanValueOrPropDefinitionInstance, ComponentDefinition, ComponentDefinitionCategory, CompoundComponentDefinition, CustomComponentInstance, CustomPageComponentDefinition, EnumPropDefinition, EnumValueOrPropDefinitionInstance, GridPaddingType, IconValueOrPropDefinitionInstance, ImageValueOrPropDefinitionInstance, InstanceProps, InstancePropsOnlyValues, NodeType, NodeTypeWithChildren, NonPageComponentDefinition, NumberValue, NumberValueOrPropDefinitionInstance, PaddingType, PageComponentDefinition, PageLayoutComponentDefinition, PropDefinition, PropDefinitionInstance, SlotInstancePrimitive, SlotPropDefinition, SpacingAbsolute, SpacingData, StackAsPageSection, StackAsTwelveColumnGrid, StackPrimitive, TextPropDefinition, TextValue, TextValueOrPropDefinitionInstance, Token, TokenAlias, Value, ValueOrPropDefinitionInstance, ValueOrPropDefinitionInstanceMap, VariantPropDefinition, VariantPropDefinitionValue } from "./types";
export declare function ensureIsTokenWithValue<T extends Token>(token: T): Exclude<T, {
    value: TokenAlias;
}>;
export declare function isPropDefinition(foo: any): foo is PropDefinition;
export declare function isVariantPropDefinition(foo: PropDefinition): foo is VariantPropDefinition;
export declare function ensureIsTextPropDefinition(propDefinition: PropDefinition): TextPropDefinition;
export declare function ensureIsSlotPropDefinition(propDefinition: PropDefinition): SlotPropDefinition;
export declare function ensureIsVariantPropDefinition(foo: any): VariantPropDefinition;
export declare function isPrimaryVariantPropDefinition(foo: any): foo is EnumPropDefinition;
export declare function isVariantPropDefinitionValue(foo: any): foo is VariantPropDefinitionValue;
export declare function ensureIsVariantPropDefinitionValue(foo: any): VariantPropDefinitionValue;
export declare function isPropDefinitionInstance(foo: any): foo is PropDefinitionInstance;
export declare function isValue(foo: any): foo is Value;
export declare function ensureIsValue<T extends ValueOrPropDefinitionInstance>(value: T): ValueOrPropDefinitionInstanceMap[T["type"]];
export declare function ensureIsBooleanValue(foo: any): BooleanValue;
export declare function ensureIsTextValue(foo: any): TextValue;
export declare function ensureIsNumberValue(foo: any): NumberValue;
export declare function ensureIsTextValueOrPropDefinitionInstance(foo: any): TextValueOrPropDefinitionInstance;
export declare function ensureIsNumberValueOrPropDefinitionInstance(foo: any): NumberValueOrPropDefinitionInstance;
export declare function ensureIsIconValueOrPropDefinitionInstance(foo: any): IconValueOrPropDefinitionInstance;
export declare function ensureIsImageValueOrPropDefinitionInstance(foo: any): ImageValueOrPropDefinitionInstance;
export declare function ensureIsBooleanValueOrPropDefinitionInstance(foo: any): BooleanValueOrPropDefinitionInstance;
export declare function ensureIsEnumValueOrPropDefinitionInstance(foo: any): EnumValueOrPropDefinitionInstance;
export declare function ensureIsInstancePropsOnlyValues(instanceProps: InstanceProps): InstancePropsOnlyValues;
export declare function isPageComponentDefinition(def: ComponentDefinition): def is PageComponentDefinition;
export declare function ensureIsPageComponentDefinition(def: ComponentDefinition): PageComponentDefinition;
export declare function isCustomPageComponentDefinition(def: ComponentDefinition): def is CustomPageComponentDefinition;
export declare function ensureIsCustomPageComponentDefinition(def: ComponentDefinition): CustomPageComponentDefinition;
export declare function ensureIsPageLayoutComponentDefinition(def: ComponentDefinition): PageLayoutComponentDefinition;
export declare function getComponentsOrganizedByCategory(definitions: ComponentDefinition[]): {
    pages: CustomPageComponentDefinition[];
    pageLayouts: PageLayoutComponentDefinition[];
    components: NonPageComponentDefinition[];
    compoundComponents: CompoundComponentDefinition[];
};
export declare function getCategoryForComponentDefinition(def: ComponentDefinition): ComponentDefinitionCategory;
export declare function isCompoundComponentDefinition(def: ComponentDefinition): def is CompoundComponentDefinition;
export declare function canDeleteComponentDefinition(def: ComponentDefinition): boolean;
export declare function canDuplicateComponent(def: ComponentDefinition): boolean;
export declare function ensureIsCustomInstanceNode(node: NodeType): CustomComponentInstance;
export declare function ensureIsSlotInstancePrimitive(node: NodeType): SlotInstancePrimitive;
export declare function ensureIsStackPrimitive(node: NodeType): StackPrimitive;
export declare function isNodeTypeWithChildren(node: NodeType): node is NodeTypeWithChildren;
export declare function ensureIsNodeTypeWithChildren(node: NodeType): NodeTypeWithChildren;
export declare function ensureIsAbsoluteSpacing(spacing: SpacingData): SpacingAbsolute;
export declare function ensureIsGridPaddingType(paddingType: PaddingType): GridPaddingType;
export declare function isNodePageSection(node: NodeType): node is StackAsPageSection;
export declare function isNodeTwelveColumnGrid(node: NodeType): node is StackAsTwelveColumnGrid;
//# sourceMappingURL=type-helpers.d.ts.map