Version 1
[yaffs-website] / node_modules / uncss / node_modules / postcss / d.ts / at-rule.d.ts
diff --git a/node_modules/uncss/node_modules/postcss/d.ts/at-rule.d.ts b/node_modules/uncss/node_modules/postcss/d.ts/at-rule.d.ts
new file mode 100644 (file)
index 0000000..27fb339
--- /dev/null
@@ -0,0 +1,39 @@
+import Container from './container';
+import postcss from './postcss';
+export default class AtRule extends Container implements postcss.AtRule {
+    /**
+     * Returns a string representing the node's type. Possible values are
+     * root, atrule, rule, decl or comment.
+     */
+    type: string;
+    /**
+     * Contains information to generate byte-to-byte equal node string as it
+     * was in origin input.
+     */
+    raws: postcss.AtRuleRaws;
+    /**
+     * The identifier that immediately follows the @.
+     */
+    name: string;
+    /**
+     * These are the values that follow the at-rule's name, but precede any {}
+     * block. The spec refers to this area as the at-rule's "prelude".
+     */
+    params: string;
+    /**
+     * Represents an at-rule. If it's followed in the CSS by a {} block, this
+     * node will have a nodes property representing its children.
+     */
+    constructor(defaults?: postcss.AtRuleNewProps);
+    /**
+     * @param overrides New properties to override in the clone.
+     * @returns A clone of this node. The node and its (cloned) children will
+     * have a clean parent and code style properties.
+     */
+    clone(overrides?: Object): AtRule;
+    toJSON(): postcss.JsonAtRule;
+    append(...children: any[]): this;
+    prepend(...children: any[]): this;
+    afterName: string;
+    _params: string;
+}