the-forest/client/node_modules/@csstools/postcss-stepped-value-functions/dist/utils.d.ts
2024-09-17 20:35:18 -04:00

9 lines
636 B
TypeScript

import valueParser from 'postcss-value-parser';
import type { FunctionNode, Node, WordNode } from 'postcss-value-parser';
import type { Declaration, Result } from 'postcss';
import { pluginOptions } from './index';
export declare function isVarNode(node: Node): boolean;
export declare function validateArgumentsAndTypes(node: FunctionNode, decl: Declaration, result: Result, options: pluginOptions): valueParser.Dimension[] | undefined;
export declare function optionallyWarn(decl: Declaration, result: Result, message: string, options: pluginOptions): void;
export declare function functionNodeToWordNode(fn: FunctionNode): WordNode;