/*! * Portions of this file are based on code from chakra-ui. * MIT Licensed, Copyright (c) 2019 Segun Adebayo. * * Credits to the Chakra UI team: * https://github.com/chakra-ui/chakra-ui/blob/7d7e04d53d871e324debe0a2cb3ff44d7dbf3bca/packages/components/styled-system/src/utils/create-transform.ts */ import { ThemeScales, ThemeVars } from "../types"; /** Get a value from theme if the token exist, return the token otherwise. */ export declare function resolveTokenValue(token: string | number | null | undefined, scale: keyof ThemeScales, vars: ThemeVars): any;