import * as i0 from "@angular/core";
import { PipeTransform } from "@angular/core";
import { NzSafeAny } from "ng-zorro-antd/core/types";
import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeStyle, SafeUrl } from "@angular/platform-browser";
declare namespace nz_aggregate_pipe_d_exports {
  export { AggregateMethod, NzAggregatePipe };
}
export type AggregateMethod = 'sum' | 'max' | 'min' | 'avg';
export declare class NzAggregatePipe implements PipeTransform {
  transform(value: number[], method: AggregateMethod): undefined | number;
  static ɵfac: i0.ɵɵFactoryDeclaration<NzAggregatePipe, never>;
  static ɵpipe: i0.ɵɵPipeDeclaration<NzAggregatePipe, "nzAggregate", true>;
}
declare namespace nz_bytes_pipe_d_exports {
  export { ByteUnit, NzBytesPipe };
}
export type ByteUnit = 'B' | 'kB' | 'KB' | 'MB' | 'GB' | 'TB';
export declare class NzBytesPipe implements PipeTransform {
  static formats: Record<ByteUnit, {
    max: number;
    prev?: ByteUnit;
  }>;
  transform(input: NzSafeAny, decimal?: number, from?: ByteUnit, to?: ByteUnit): NzSafeAny;
  static formatResult(result: number, unit: string): string;
  static calculateResult(format: {
    max: number;
    prev?: ByteUnit;
  }, bytes: number): number;
  static ɵfac: i0.ɵɵFactoryDeclaration<NzBytesPipe, never>;
  static ɵpipe: i0.ɵɵPipeDeclaration<NzBytesPipe, "nzBytes", true>;
}
declare namespace nz_css_unit_pipe_d_exports {
  export { NzToCssUnitPipe };
}
export declare class NzToCssUnitPipe implements PipeTransform {
  transform(value: number | string, defaultUnit?: string): string;
  static ɵfac: i0.ɵɵFactoryDeclaration<NzToCssUnitPipe, never>;
  static ɵpipe: i0.ɵɵPipeDeclaration<NzToCssUnitPipe, "nzToCssUnit", true>;
}
declare namespace nz_ellipsis_pipe_d_exports {
  export { NzEllipsisPipe };
}
export declare class NzEllipsisPipe implements PipeTransform {
  transform(value: NzSafeAny, length?: number, suffix?: string): NzSafeAny;
  static ɵfac: i0.ɵɵFactoryDeclaration<NzEllipsisPipe, never>;
  static ɵpipe: i0.ɵɵPipeDeclaration<NzEllipsisPipe, "nzEllipsis", true>;
}
declare namespace nz_sanitizer_pipe_d_exports {
  export { NzSanitizerPipe };
}
export declare class NzSanitizerPipe implements PipeTransform {
  protected sanitizer: DomSanitizer;
  transform(value: NzSafeAny, type: 'html'): SafeHtml;
  transform(value: NzSafeAny, type: 'style'): SafeStyle;
  transform(value: NzSafeAny, type: 'url'): SafeUrl;
  transform(value: NzSafeAny, type: 'resourceUrl'): SafeResourceUrl;
  static ɵfac: i0.ɵɵFactoryDeclaration<NzSanitizerPipe, never>;
  static ɵpipe: i0.ɵɵPipeDeclaration<NzSanitizerPipe, "nzSanitizer", true>;
}
declare namespace nz_trim_pipe_d_exports {
  export { NzTrimPipe };
}
export declare class NzTrimPipe implements PipeTransform {
  transform(text: string): string;
  static ɵfac: i0.ɵɵFactoryDeclaration<NzTrimPipe, never>;
  static ɵpipe: i0.ɵɵPipeDeclaration<NzTrimPipe, "nzTrim", true>;
}
export declare class NzPipesModule {
  static ɵfac: i0.ɵɵFactoryDeclaration<NzPipesModule, never>;
  static ɵmod: i0.ɵɵNgModuleDeclaration<NzPipesModule, never, [typeof NzToCssUnitPipe, typeof NzSanitizerPipe, typeof NzTrimPipe, typeof NzBytesPipe, typeof NzAggregatePipe, typeof NzEllipsisPipe], [typeof NzToCssUnitPipe, typeof NzSanitizerPipe, typeof NzTrimPipe, typeof NzBytesPipe, typeof NzAggregatePipe, typeof NzEllipsisPipe]>;
  static ɵinj: i0.ɵɵInjectorDeclaration<NzPipesModule>;
}