import * as postcss from 'postcss'; import type { AtRuleRaws } from 'postcss/lib/at-rule'; import { ArgumentList, ArgumentListProps } from '../argument-list'; import { NodeProps } from '../node'; import * as sassInternal from '../sass-internal'; import { Statement, StatementWithChildren } from '.'; import { _AtRule } from './at-rule-internal'; /** * The set of raws supported by {@link ContentRule}. * * @category Statement */ export interface ContentRuleRaws extends Omit { /** * Whether to include an empty argument list. If the argument list isn't * empty, this is ignored. */ showArguments?: boolean; } /** * The initializer properties for {@link ContentRule}. * * @category Statement */ export interface ContentRuleProps extends NodeProps { raws?: ContentRuleRaws; contentArguments?: ArgumentList | ArgumentListProps; } /** * An `@content` rule. Extends [`postcss.AtRule`]. * * [`postcss.AtRule`]: https://postcss.org/api/#atrule * * @category Statement */ export declare class ContentRule extends _AtRule> implements Statement { readonly sassType: "content-rule"; parent: StatementWithChildren | undefined; raws: ContentRuleRaws; readonly nodes: undefined; /** The arguments to pass to the mixin invocation's `using` block. */ get contentArguments(): ArgumentList; set contentArguments(args: ArgumentList | ArgumentListProps | undefined); private _contentArguments; get name(): string; set name(value: string); get params(): string; set params(value: string | number | undefined); constructor(defaults?: ContentRuleProps); /** @hidden */ constructor(_: undefined, inner: sassInternal.ContentRule); clone(overrides?: Partial): this; toJSON(): object; /** @hidden */ toJSON(_: string, inputs: Map): object; /** @hidden */ toString(stringifier?: postcss.Stringifier | postcss.Syntax): string; /** @hidden */ get nonStatementChildren(): ReadonlyArray; }