import React from 'react'; import { SnackbarProps } from '../Snackbar'; declare type SnackbarContextValue = { pushSnackbar: (props: SnackbarPublicProps) => string; updateSnackbar: (id: string, props: SnackbarPublicProps) => string; }; declare type SnackbarPublicProps = Omit; /** * A component that acts both as a state-manager and provider. It provides access to methods for * managing snackbar instances */ export declare const SnackbarProvider: React.FC; /** A shortcut for the consumer component */ export declare const SnackbarConsumer: React.Consumer; /** An alternative to the consumer component through hooks */ export declare const useSnackbar: () => SnackbarContextValue; export {};