1 | import { IRuleMetadata, RuleFailure } from 'tslint/lib';
|
2 | import { AbstractRule } from 'tslint/lib/rules';
|
3 | import { SourceFile } from 'typescript/lib/typescript';
|
4 | export declare type PropertyType = 'animations' | 'styles' | 'template';
|
5 | export declare type PropertyPair = {
|
6 | [key in PropertyType]?: number;
|
7 | };
|
8 | export declare const getAnimationsFailure: (value: number, limit?: number) => string;
|
9 | export declare const getStylesFailure: (value: number, limit?: number) => string;
|
10 | export declare const getTemplateFailure: (value: number, limit?: number) => string;
|
11 | export declare class Rule extends AbstractRule {
|
12 | static readonly metadata: IRuleMetadata;
|
13 | static readonly FAILURE_STRING: string;
|
14 | apply(sourceFile: SourceFile): RuleFailure[];
|
15 | isEnabled(): boolean;
|
16 | }
|