import type { Parser } from './types'; /** * Split by whitespace, return values and their indices. * * @example * 'aaa bbb' => [{ token: 'aaa', index: 0 }, { token: 'bbb', index: 4 }] */ export declare const splitByWhitespace: Parser; /** * Split string by commas, strip whitespace, and return the index of every found token. * * @example * splitByComma('aaa, bbb') === [{ token: 'aaa', index: 0 }, { token: 'bbb', index: 5 }] */ export declare const splitByComma: Parser; /** * Split by commas, then split each token by whitespace and only keep the first piece. * * @example * 'aaa bbb, ccc' => [{ token: 'aaa', index: 0 }, { token: 'ccc', index: 9 }] * * Used for parsing a `srcset`: `` */ export declare const splitByCommaPickFirstTokens: Parser;