import * as postcss from 'postcss'; import type { AtRuleRaws as PostcssAtRuleRaws } from 'postcss/lib/at-rule'; import { AnyExpression, ExpressionProps } from '../expression'; import type * as sassInternal from '../sass-internal'; import { Statement, StatementWithChildren } from '.'; import { _AtRule } from './at-rule-internal'; /** * The set of raws supported by {@link WarnRule}. * * @category Statement */ export type WarnRuleRaws = Pick; /** * The initializer properties for {@link WarnRule}. * * @category Statement */ export type WarnRuleProps = postcss.NodeProps & { raws?: WarnRuleRaws; warnExpression: AnyExpression | ExpressionProps; }; /** * A `@warn` rule. Extends [`postcss.AtRule`]. * * [`postcss.AtRule`]: https://postcss.org/api/#atrule * * @category Statement */ export declare class WarnRule extends _AtRule> implements Statement { readonly sassType: "warn-rule"; parent: StatementWithChildren | undefined; raws: WarnRuleRaws; readonly nodes: undefined; get name(): string; set name(value: string); get params(): string; set params(value: string | number | undefined); /** The expression whose value is emitted when the warn rule is executed. */ get warnExpression(): AnyExpression; set warnExpression(warnExpression: AnyExpression | ExpressionProps); private _warnExpression?; constructor(defaults: WarnRuleProps); /** @hidden */ constructor(_: undefined, inner: sassInternal.WarnRule); clone(overrides?: Partial): this; toJSON(): object; /** @hidden */ toJSON(_: string, inputs: Map): object; /** @hidden */ toString(stringifier?: postcss.Stringifier | postcss.Syntax): string; /** @hidden */ get nonStatementChildren(): ReadonlyArray; }