1 | import * as spec from '@jsii/spec';
|
2 | import * as ts from 'typescript';
|
3 | import { Emitter } from './emitter';
|
4 | import { JsiiDiagnostic } from './jsii-diagnostic';
|
5 | import { ProjectInfo } from './project-info';
|
6 | export declare class Validator implements Emitter {
|
7 | readonly projectInfo: ProjectInfo;
|
8 | readonly assembly: spec.Assembly;
|
9 | static VALIDATIONS: ValidationFunction[];
|
10 | constructor(projectInfo: ProjectInfo, assembly: spec.Assembly);
|
11 | emit(): ts.EmitResult;
|
12 | }
|
13 | export type DiagnosticEmitter = (diag: JsiiDiagnostic) => void;
|
14 | export type ValidationFunction = (validator: Validator, assembly: spec.Assembly, diagnostic: DiagnosticEmitter) => void;
|
15 | //# sourceMappingURL=validator.d.ts.map |
\ | No newline at end of file |