import { Node, NodeMap, LocationInfo } from './node'; import { Context } from '../context'; import type { OutputCollector } from '../output'; /** * A set of nodes (usually declarations) * Used by Rule and Mixin * * @example * color: black; * background-color: white; */ export declare class Ruleset extends Node { value: Node[]; rootRules: Node[]; eval(context: Context): this; /** * Return an object representation of a ruleset */ obj(): { [k: string]: string; }; toCSS(context: Context, out: OutputCollector): void; toModule(context: Context, out: OutputCollector): void; } export declare const ruleset: (value: Node[] | NodeMap, location?: LocationInfo) => Ruleset;