import * as postcss from 'postcss'; import { NodeProps } from '../../node'; import type * as sassInternal from '../../sass-internal'; import { AnyExpression, ExpressionProps } from '../index'; import { AnyIfConditionExpression, IfConditionExpression } from './index'; import { IfEntry } from '../if-entry'; /** * The set of raws supported by {@link IfConditionSass}. * * @category Expression */ export interface IfConditionSassRaws { /** The whitespace after the opening parenthesis. */ afterOpen?: string; /** The whitespace before the closing parenthesis. */ beforeClose?: string; } /** * The initializer properties for {@link IfConditionSass} as an explicit object. * * @category Expression */ export interface IfConditionSassObjectProps extends NodeProps { raws?: IfConditionSassRaws; expression: AnyExpression | ExpressionProps; } /** * The initializer properties for {@link IfConditionExpression}. * * @category Expression */ export type IfConditionSassProps = IfConditionSassObjectProps | AnyExpression | ExpressionProps; /** * A `sass()` expression in an `if()` condition. * * @category Expression */ export declare class IfConditionSass extends IfConditionExpression { readonly sassType: "if-condition-sass"; raws: IfConditionSassRaws; parent: IfEntry | AnyIfConditionExpression | undefined; /** The boolean expression. */ get expression(): AnyExpression; set expression(expression: AnyExpression | ExpressionProps); private _expression?; constructor(defaults: IfConditionSassProps); /** @hidden */ constructor(_: undefined, inner: sassInternal.IfConditionSass); clone(overrides?: Partial): this; toJSON(): object; /** @hidden */ toJSON(_: string, inputs: Map): object; /** @hidden */ toString(): string; /** @hidden */ get nonStatementChildren(): ReadonlyArray; }