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

8 lines
370 B
TypeScript

import type { Operation } from './operation/operation';
import type { TokenNode } from '@csstools/css-parser-algorithms';
export type Calculation = {
inputs: Array<Calculation | TokenNode>;
operation: Operation;
};
export declare function isCalculation(x: unknown): x is Calculation;
export declare function solve(calculation: Calculation | -1): TokenNode | -1;