/**
 * @typedef {import('../../types/DesignToken.d.ts').TransformedTokens} Tokens
 * @typedef {import('../../types/DesignToken.d.ts').TransformedToken} Token
 */
/**
 * Takes an plain javascript object and will make a flat array of all the leaf nodes.
 * A leaf node in this context has a 'value' property. Potentially refactor this to
 * be more generic.
 * @private
 * @param  {Tokens} tokens - The plain object you want flattened into an array.
 * @param  {Token[]} [to_ret] - Tokens array. This function is recursive therefore this is what gets passed along.
 * @return {Token[]}
 */
export default function flattenTokens(tokens: Tokens, to_ret?: import("../../types/DesignToken.d.ts").TransformedToken[] | undefined): Token[];
export type Tokens = import('../../types/DesignToken.d.ts').TransformedTokens;
export type Token = import('../../types/DesignToken.d.ts').TransformedToken;
