/** * Options that change how a value list is turned into a CSS value. */ export interface FlattenOptions { /** * Resolves a `[light, dark]` value list to that one branch instead of emitting * `light-dark()`. Needed because `light-dark()` is newer than the browsers * Handsontable supports, so the shipped minified CSS does not use it. */ resolveScheme?: 'light' | 'dark'; /** * Emits only the variables whose value is a `[light, dark]` list. Values that * are the same in both schemes do not need to be repeated in an override block. */ lightDarkOnly?: boolean; } /** * Flattens the CSS variables object into a string of CSS variables. * * @param {object} cssVariables - The CSS variables object to flatten. * @param {string} [prefix='colors'] - The prefix to add to the CSS variables. * @param {string} [parentKey=''] - The parent key to add to the CSS variables. * @param {object} [options] - The flattening options. * @returns {string} - The flattened CSS variables. */ export declare function flattenCssVariables(cssVariables: Record, prefix?: string, parentKey?: string, options?: FlattenOptions): string;