import { ToAttrChain, ToColonSingle } from '../../typescript'; export declare function fromLabeledSelect(prop: `${T} - ${string}`, defaultValue: U): Exclude | ''; /** Returns the value before the ` - ` separator */ export declare function hyphenizedControlParser(value: `${T} - ${string}`): T; /** In case the value equals the default, returns an empty string. * Otherwise, prefixes the value with a colon `:`. */ export declare function toColon(value: T, defaultValue?: U): U extends T ? (`:${Exclude}` | '') : `:${T}`; /** In case the value equals the default, returns an empty string */ export declare function removeDefault(value: T, defaultValue?: U): Exclude | ''; /** Prefixes the value if it's not an empty string */ export declare function toColonIfNotEmpty(value: T | ''): ToColonSingle; /** Return the value if it's not `'none'` or `'default'`. Otherwise returns `undefined` */ export declare function toNonDefaultValue(value?: T): Exclude | undefined; /** Parses the values into a color `:` separated string where empty strings are ignored */ export declare function toAttr(first: T, second: U, third: V): ToAttrChain | undefined; /** Returns a string with the given amount of spaces */ export declare function spaces(indent: number): string;