summaryrefslogtreecommitdiff
path: root/node_modules/@csstools/css-parser-algorithms/dist/util/source-indices.d.ts
blob: 92d124bef1d4b8b6b9fcbe50e7e2172ed0073f51 (plain)
1
2
3
4
5
6
7
8
9
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 {};