import { MatSnackBar } from '@angular/material/snack-bar';
import { ErrorInput, type Maybe } from '@dereekb/util';
import { DbxErrorSnackbarConfig } from './error.snackbar.component';
import * as i0 from "@angular/core";
export declare const DEFAULT_DBX_ERROR_SNACKBAR_CONFIG: DbxErrorSnackbarConfig;
/**
 * Service used to show errors in the snackbar.
 */
export declare class DbxErrorSnackbarService {
    readonly matSnackbar: MatSnackBar;
    private _defaultConfig;
    get defaultConfig(): DbxErrorSnackbarConfig;
    setDefaultConfig(defaultConfig: DbxErrorSnackbarConfig): void;
    showSnackbarError(error: ErrorInput, inputConfig?: Maybe<DbxErrorSnackbarConfig>): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<DbxErrorSnackbarService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DbxErrorSnackbarService>;
}
