/// <reference types="node" />
export interface ISnackBarContext {
    openSnackBar: (params: ISnackBarParams) => string | number;
    closeSnackBar: (key: string | number) => void;
}
export interface ISnackBarAction {
    text: string;
    onClick?: () => void;
}
export interface ISnackBarParams {
    message: string;
    duration?: number;
    action?: ISnackBarAction;
    id?: string | number;
    count?: number;
}
export interface ISnackBarItem {
    message: string;
    action?: ISnackBarAction;
    timeoutId?: NodeJS.Timeout;
    count?: number;
}
export interface ISnackBarInstanceProps {
    container?: HTMLElement;
}
export interface ISnackBarInstanceRef {
    open: (params: ISnackBarParams) => void;
}
export interface ISnackBarInstanceState {
    params: ISnackBarParams[];
}
