import * as i0 from '@angular/core';

interface AlertData {
    type: 'info' | 'warning' | 'error' | 'success';
    message: string;
    title?: string;
    okButtonText?: string;
}
interface AlertConfig {
    data: AlertData;
    onClose?: () => void;
}
interface AlertOptions extends Omit<AlertData, 'type'> {
    onClose?: () => void;
}
declare class Alert {
    private readonly dialog;
    private open;
    success(options: AlertOptions): void;
    error(options: AlertOptions): void;
    info(options: AlertOptions): void;
    warning(options: AlertOptions): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<Alert, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<Alert>;
}

declare class AlertContent {
    private readonly dialogRef;
    data: AlertData;
    close(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AlertContent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AlertContent, "kl-alert-content", never, {}, {}, never, never, true, never>;
}

export { Alert, AlertContent };
export type { AlertConfig, AlertData, AlertOptions };
