import type { Sanitizer } from '@angular/core';
import { SecurityContext } from '@angular/core';
import type { NgDompurifyConfig } from './types/ng-dompurify-config';
import * as i0 from "@angular/core";
/**
 * Implementation of Angular {@link Sanitizer} purifying via DOMPurify
 *
 * use {@link DOMPURIFY_CONFIG} token to provide config ({@link NgDompurifyConfig})
 * use {@link SANITIZE_STYLE} token to provide a style sanitizing method ({@link SanitizeStyle})
 * use {@link DOMPURIFY_HOOKS} token to provide a hooks for DOMPurify ({@link addHook})
 *
 * Ambient type cannot be used without @dynamic https://github.com/angular/angular/issues/23395
 * @dynamic
 */
export declare class NgDompurifySanitizer implements Sanitizer {
    private readonly config;
    private readonly sanitizeStyle;
    private readonly domPurify;
    constructor();
    sanitize(context: SecurityContext, value: Record<string, string> | string | null, config?: NgDompurifyConfig): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<NgDompurifySanitizer, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<NgDompurifySanitizer>;
}
