import * as postcss from 'postcss'; import type { CommentRaws } from 'postcss/lib/comment'; import type * as sassInternal from '../sass-internal'; import { Interpolation, InterpolationProps } from '../interpolation'; import { ContainerProps, Statement, StatementWithChildren } from '.'; import { _Comment } from './comment-internal'; /** * The set of raws supported by {@link CssComment}. * * @category Statement */ export interface CssCommentRaws extends CommentRaws { /** * In the indented syntax, this indicates whether a comment is explicitly * closed with a `*\/`. It's ignored in other syntaxes. * * It defaults to false. */ closed?: boolean; } /** * The initializer properties for {@link CssComment}. * * @category Statement */ export type CssCommentProps = ContainerProps & { raws?: CssCommentRaws; } & ({ text: string; } | { textInterpolation: Interpolation | InterpolationProps; }); /** * A CSS-style "loud" comment. Extends [`postcss.Comment`]. * * [`postcss.Comment`]: https://postcss.org/api/#comment * * @category Statement */ export declare class CssComment extends _Comment> implements Statement { readonly sassType: "comment"; parent: StatementWithChildren | undefined; raws: CssCommentRaws; get text(): string; set text(value: string); /** The interpolation that represents this selector's contents. */ get textInterpolation(): Interpolation; set textInterpolation(value: Interpolation | InterpolationProps); private _textInterpolation?; constructor(defaults: CssCommentProps); /** @hidden */ constructor(_: undefined, inner: sassInternal.LoudComment); clone(overrides?: Partial): this; toJSON(): object; /** @hidden */ toJSON(_: string, inputs: Map): object; /** @hidden */ toString(stringifier?: postcss.Stringifier | postcss.Syntax): string; /** @hidden */ get nonStatementChildren(): ReadonlyArray; }