<?php

/**
 * SCSSPHP
 *
 * @copyright 2012-2020 Leaf Corcoran
 *
 * @license http://opensource.org/licenses/MIT MIT
 *
 * @link http://scssphp.github.io/scssphp
 */

namespace Tangible\ScssPhp\Ast\Css;

use Tangible\ScssPhp\Ast\Selector\SelectorList;

/**
 * A plain CSS style rule.
*  *
*  * This applies style declarations to elements that match a given selector.
*  * Note that this isn't *strictly* plain CSS, since {@see getSelector} may still
*  * contain placeholder selectors.
 *
 * @internal
 */
interface CssStyleRule extends CssParentNode
{
    /**
     * The selector for this rule.
     *
     * @return CssValue<SelectorList>
     */
    public function getSelector(): CssValue;

    /**
     * The selector for this rule, before any extensions were applied.
     */
    public function getOriginalSelector(): SelectorList;
}
