import { FunctionN } from 'fp-ts/lib/function'; import { IO } from 'fp-ts/lib/IO'; import { ExtractPropTypes, PropType, Slots } from 'vue'; import { ColorVariant, PositionVariant } from '../../types'; import { NoticeController, OpenNoticeOptions, RenderNoticeOptions } from '../noticeController'; export declare const SnackbarPropsDefinition: { position: { type: PropType; default: "is-bottom-right"; }; actionText: { type: PropType; default: string; }; onAction: { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; variant: { type: PropType; default: "is-success"; }; transition: { type: PropType; required: boolean; }; duration: { type: PropType; default: number; }; message: { type: PropType; }; shouldQueue: { type: PropType; default: boolean; }; isIndefinite: { type: PropType; default: boolean; }; }; export interface SnackbarProps extends ExtractPropTypes { } export interface RenderSnackbarOptions extends RenderNoticeOptions, OpenNoticeOptions { onAction?: IO; actionText?: string; } export interface OpenSnackbarOptions extends RenderSnackbarOptions { } export interface SnackbarController extends NoticeController { open: FunctionN<[OpenSnackbarOptions], void>; } export declare function useSnackbar(props?: SnackbarProps, slots?: Slots): SnackbarController;