UNPKG

@tapsellorg/angular-material-library

Version:

Angular library for Tapsell

14 lines (13 loc) 556 B
type PghDimension = { width: number; height: number; }; export declare class PghFileValidators { private static readonly NAME_VALIDATOR_PATTERN; private static messages; static checkAllowedTypes(acceptableTypes: any[], fileType: string): string | null; static checkNameValidator(fileName: string): string | null; static checkSizeValidation(maxSize: number, fileSize: number): string | null; static checkDimensionsValidation(width: number, height: number, allowedDimensions: Array<PghDimension>): string | null; } export {};