epiphany/node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts

10 lines
308 B
TypeScript
Raw Normal View History

2023-12-09 22:48:07 -08:00
import { CSSToken } from '@csstools/css-tokenizer';
interface TokenConvertible {
tokens(): Array<CSSToken>;
}
/**
* Returns the start and end index of a node in the CSS source string.
*/
export declare function sourceIndices(x: TokenConvertible | Array<TokenConvertible>): [number, number];
export {};