1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-06 19:32:22 +04:00
Files
tabler/.build/modules.d.ts
2026-08-05 23:48:56 +02:00

25 lines
795 B
TypeScript

// 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<string, unknown>)
minify(input: string[]): Promise<Record<string, MinifyResult>>
}
}