/** * Copyright IBM Corp. 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import stylelint from 'stylelint'; /** * Test a stylelint rule with given code */ export declare function testRule(ruleName: string, config: unknown, code: string): Promise; /** * Test auto-fix functionality */ export declare function testFix(ruleName: string, config: unknown, code: string): Promise<{ fixed: string; result: stylelint.LinterResult; }>; /** * Assert that code has no warnings */ export declare function assertNoWarnings(result: stylelint.LinterResult): void; /** * Assert that code has warnings */ export declare function assertHasWarnings(result: stylelint.LinterResult, count?: number): void; /** * Assert that code was fixed to expected output */ export declare function assertFixed(fixed: string, expected: string): void; //# sourceMappingURL=test-utils.d.ts.map