1 import Container from './container';
2 import postcss from './postcss';
3 export default class AtRule extends Container implements postcss.AtRule {
5 * Returns a string representing the node's type. Possible values are
6 * root, atrule, rule, decl or comment.
10 * Contains information to generate byte-to-byte equal node string as it
11 * was in origin input.
13 raws: postcss.AtRuleRaws;
15 * The identifier that immediately follows the @.
19 * These are the values that follow the at-rule's name, but precede any {}
20 * block. The spec refers to this area as the at-rule's "prelude".
24 * Represents an at-rule. If it's followed in the CSS by a {} block, this
25 * node will have a nodes property representing its children.
27 constructor(defaults?: postcss.AtRuleNewProps);
29 * @param overrides New properties to override in the clone.
30 * @returns A clone of this node. The node and its (cloned) children will
31 * have a clean parent and code style properties.
33 clone(overrides?: Object): AtRule;
34 toJSON(): postcss.JsonAtRule;
35 append(...children: any[]): this;
36 prepend(...children: any[]): this;