/**
 * Validates a token value against platform and subtype rules.
 *
 * @param {string|number} value   - The raw token value.
 * @param {string}        subtype - e.g. "font-size", "color", "space".
 * @param {string}        platform - "native_mobile" | "web"
 * @returns {{ valid: boolean, errorObject?: object }}
 */
export default function validateTokenValue(value: string | number, subtype: string, platform: string): {
    valid: boolean;
    errorObject?: object;
};
export function isTokenReference(value: any): boolean;
