epiphany/node_modules/@csstools/css-calc/dist/functions/result-to-calculation.d.ts
2023-12-09 22:48:07 -08:00

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;