import * as postcss from 'postcss'; import { NodeProps } from '../../node'; import type * as sassInternal from '../../sass-internal'; import { AnyIfConditionExpression, IfConditionExpression } from './index'; import { IfEntry } from '../if-entry'; import { Interpolation, InterpolationProps } from '../../interpolation'; /** * The set of raws supported by {@link IfConditionFunction}. * * @category Expression */ export interface IfConditionFunctionRaws { /** The whitespace between the opening parenthesis and the argument. */ afterOpen?: string; /** The whitespace between the argument and the closing parenthesis. */ beforeClose?: string; } /** * The initializer properties for {@link IfConditionFunction}. * * @category Expression */ export interface IfConditionFunctionProps extends NodeProps { raws?: IfConditionFunctionRaws; name: Interpolation | InterpolationProps; argument: Interpolation | InterpolationProps; } /** * A CSS function condition in an `if()` condition. * * @category Expression */ export declare class IfConditionFunction extends IfConditionExpression { readonly sassType: "if-condition-function"; raws: IfConditionFunctionRaws; parent: IfEntry | AnyIfConditionExpression | undefined; /** The function's name. */ get name(): Interpolation; set name(name: Interpolation | InterpolationProps); private _name?; /** The function's argument or arguments. */ get argument(): Interpolation; set argument(argument: Interpolation | InterpolationProps); private _argument?; constructor(defaults: IfConditionFunctionProps); /** @hidden */ constructor(_: undefined, inner: sassInternal.IfConditionFunction); clone(overrides?: Partial): this; toJSON(): object; /** @hidden */ toJSON(_: string, inputs: Map): object; /** @hidden */ toString(): string; /** @hidden */ get nonStatementChildren(): ReadonlyArray; }