1 | import postcss from 'postcss';
|
2 | export declare type DiagnosticType = 'error' | 'warning';
|
3 | export interface Diagnostic {
|
4 | type: DiagnosticType;
|
5 | node: postcss.Node;
|
6 | message: string;
|
7 | options: postcss.NodeErrorOptions;
|
8 | }
|
9 | export declare class Diagnostics {
|
10 | reports: Diagnostic[];
|
11 | constructor(reports?: Diagnostic[]);
|
12 | add(type: DiagnosticType, node: postcss.Node, message: string, options?: postcss.NodeErrorOptions): void;
|
13 | error(node: postcss.Node, message: string, options?: postcss.NodeErrorOptions): void;
|
14 | warn(node: postcss.Node, message: string, options?: postcss.NodeErrorOptions): void;
|
15 | }
|
16 | //# sourceMappingURL=diagnostics.d.ts.map |
\ | No newline at end of file |