7 lines
597 B
TypeScript
7 lines
597 B
TypeScript
import { CSSToken } from '@csstools/css-tokenizer';
|
|
import { FunctionNode } from '@csstools/css-parser-algorithms';
|
|
import { Calculation } from '../calculation';
|
|
export declare function resultToCalculation(node: FunctionNode, aToken: CSSToken, result: number): Calculation | -1;
|
|
export declare function dimensionToCalculation(node: FunctionNode, unit: string, result: number): Calculation | -1;
|
|
export declare function percentageToCalculation(node: FunctionNode, result: number): Calculation | -1;
|
|
export declare function numberToCalculation(node: FunctionNode, result: number): Calculation | -1;
|