import { PropType } from 'vue'; import { Emitter } from 'mitt'; import { TJoySnackbarEvents, TJoySnackbarLevels } from './JoySnackbar.types'; declare function destroySnackbarAfterTimeout(): void; declare const _default: import("vue").DefineComponent; default: string; }; /** Allows to manually hide the component before its timeout */ closable: { type: BooleanConstructor; default: boolean; }; /** Default snackar display duration. Default to 5000ms. Set "forever" to constantly display it. */ duration: { type: PropType; default: number; }; /** The title if you need to set one */ header: { type: StringConstructor; }; /** Main snackbar message. Mandatory */ message: { type: StringConstructor; required: true; }; /** If you need to trigger an action from the generated snackbar, use this field to create a CTA. * * Use `bus.on('snackbar:action-click')` to catch the event. */ actionText: { type: StringConstructor; }; /** Documentation purpose */ frozen: { type: BooleanConstructor; default: boolean; }; /** You don't need to explicitely set the bus property as the snackbar service is already handling it. */ bus: { type: PropType>; }; /** Internal purpose */ instanceNb: { type: NumberConstructor; }; }>, { isOpen: import("vue").Ref; exposedMethods: { destroySnackbarAfterTimeout: typeof destroySnackbarAfterTimeout; }; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; default: string; }; /** Allows to manually hide the component before its timeout */ closable: { type: BooleanConstructor; default: boolean; }; /** Default snackar display duration. Default to 5000ms. Set "forever" to constantly display it. */ duration: { type: PropType; default: number; }; /** The title if you need to set one */ header: { type: StringConstructor; }; /** Main snackbar message. Mandatory */ message: { type: StringConstructor; required: true; }; /** If you need to trigger an action from the generated snackbar, use this field to create a CTA. * * Use `bus.on('snackbar:action-click')` to catch the event. */ actionText: { type: StringConstructor; }; /** Documentation purpose */ frozen: { type: BooleanConstructor; default: boolean; }; /** You don't need to explicitely set the bus property as the snackbar service is already handling it. */ bus: { type: PropType>; }; /** Internal purpose */ instanceNb: { type: NumberConstructor; }; }>> & Readonly<{}>, { level: TJoySnackbarLevels; closable: boolean; duration: number | "forever"; frozen: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;