Version: 0.1.00.2.00.3.00.3.10.3.20.3.30.3.40.3.51.0.02.0.02.1.02.1.12.1.22.2.02.2.12.2.22.2.32.2.42.2.52.2.63.0.03.0.13.0.23.0.33.0.43.0.53.0.63.0.74.0.04.0.14.0.24.0.34.0.44.0.54.0.64.1.04.1.14.1.24.1.34.1.44.1.54.1.64.1.74.1.84.1.94.1.104.1.114.1.124.1.134.1.144.1.154.1.165.0.05.0.15.0.25.0.35.0.45.0.55.0.65.0.75.0.85.0.95.0.105.0.115.0.125.0.135.0.145.0.155.0.165.0.175.0.185.0.195.0.205.0.215.1.05.1.15.1.25.2.05.2.15.2.25.2.35.2.45.2.55.2.65.2.75.2.85.2.95.2.105.2.115.2.125.2.135.2.145.2.155.2.165.2.175.2.186.0.06.0.16.0.26.0.36.0.46.0.56.0.66.0.76.0.86.0.96.0.106.0.116.0.126.0.136.0.146.0.156.0.166.0.176.0.186.0.196.0.206.0.216.0.226.0.237.0.07.0.17.0.27.0.37.0.47.0.57.0.67.0.77.0.87.0.97.0.107.0.117.0.127.0.137.0.147.0.157.0.167.0.177.0.187.0.197.0.207.0.217.0.227.0.237.0.247.0.257.0.267.0.277.0.287.0.297.0.307.0.317.0.327.0.337.0.347.0.357.0.367.0.377.0.387.0.398.0.08.0.18.0.28.0.38.0.48.0.58.0.68.0.78.0.88.0.98.1.08.1.18.1.28.1.38.1.48.1.58.1.68.1.78.1.88.1.98.1.108.1.118.1.128.1.138.1.148.2.08.2.18.2.28.2.38.2.48.2.58.2.68.2.78.2.88.2.98.2.108.2.118.2.128.2.138.2.148.2.158.3.08.3.18.3.28.3.38.3.48.3.58.3.68.3.78.3.88.3.98.3.108.3.118.4.08.4.18.4.28.4.38.4.48.4.58.4.68.4.78.4.88.4.98.4.108.4.118.4.128.4.138.4.148.4.158.4.168.4.178.4.188.4.198.4.208.4.218.4.228.4.238.4.248.4.258.4.268.4.278.4.288.4.298.4.308.4.318.4.328.4.338.4.348.4.358.4.368.4.378.4.388.4.398.4.408.4.418.4.428.4.438.4.448.4.458.4.468.4.47
declare namespace list {
type List = {
/**
* Safely splits comma-separated values (such as those for `transition-*`
* and `background` properties).
*
* ```js
* Once (root, { list }) {
* list.comma('black, linear-gradient(white, black)')
* //=> ['black', 'linear-gradient(white, black)']
* }
* ```
* @param str Comma-separated values.
* @return Split values.
*/
comma(str: string): string[]
default: List
* Safely splits space-separated values (such as those for `background`,
* `border-radius`, and other shorthand properties).
* list.space('1px calc(10% + 1px)') //=> ['1px', 'calc(10% + 1px)']
* @param str Space-separated values.
space(str: string): string[]
* Safely splits values.
* list.split('1px calc(10% + 1px)', [' ', '\n', '\t']) //=> ['1px', 'calc(10% + 1px)']
* @param string separated values.
* @param separators array of separators.
* @param last boolean indicator.
split(string: string, separators: string[], last: boolean): string[]
}
// eslint-disable-next-line @typescript-eslint/no-redeclare
declare const list: list.List
export = list