// Minimal ambient typings for build-tool dependencies that ship no types. // Only the surface used by .build/build-css.ts is declared. declare module 'rtlcss' { import type { Plugin } from 'postcss' export default function rtlcss(config?: unknown): Plugin } declare module 'postcss-prefix-custom-properties' { import type { Plugin } from 'postcss' export default function prefixCustomProperties(options?: { prefix?: string; ignore?: (string | RegExp)[] }): Plugin } declare module 'clean-css' { interface MinifyResult { styles: string errors: string[] warnings: string[] sourceMap: { toString(): string } } export default class CleanCSS { constructor(options: Record) minify(input: string[]): Promise> } }