import { APIFunctionInfo } from "../../api-types.mjs"; import { CommandDataBase } from "../command-types.mjs"; /** * 'ui' is the broad command which basically acts like a category of commands at this point. */ declare const CMD_CATEGORY = "ui"; /** * This should be camelCased actual name of the function. */ declare const CMD_MODIFIERS: string[]; /** * @interface UpdateCSSVariablesOpts - Options for the updateCSSVariables command. * @extends CommandDataBase */ export interface UpdateCSSVariablesOpts extends CommandDataBase { /** * @property cssVariables - An object where keys are CSS variable names * (e.g., '--text-color-base') and values are their new values (e.g., 'blue'). */ cssVariables: { [key: string]: string; }; } /** * @interface UpdateCSSVariablesCommandData - Command data for the updateCSSVariables command. * @extends CommandDataBase * */ export interface UpdateCSSVariablesCommandData extends CommandDataBase { /** * @see {@link UpdateCSSVariablesOpts.cssVariables} */ cssVariables: { [key: string]: string; }; } /** * Wrapper function to enqueue the updateCSSVariables command. * @param {UpdateCSSVariablesOpts} opts - Options for updating CSS variables. * @returns {Promise} A promise that resolves when the command is enqueued. */ declare function updateCSSVariablesViaCmd(opts: UpdateCSSVariablesOpts): Promise; /** * Factory function to get an API function info for the updateCSSVariables * command. This enables an agent to update the {@link cssVariables} to create * dynamic themes, which in turn enables users to use natural language to change * the theme. * * initially this was just {@link VALID_CSS_VARIABLES}, but we have changed * this to be a dynamic factory function driven by this {@link cssVariables}. */ export declare function getFunctionInfo_updateCSSVariablesFunctionInfo({ cssVariables, }: { /** * list of variables that the agent has access to change. */ cssVariables: string[]; }): APIFunctionInfo; export declare const updateCSSVariablesFunctionInfo: APIFunctionInfo; export {}; //# sourceMappingURL=update-css-variables.d.mts.map