import type { ContainerMethods, Settings, Status, Toast, ToastOptions } from '../type'; export type CustomMethods = Record string>; export interface ToastPluginAPI { notify: (status: Status, title?: string) => Toast['id']; success: (status: Status, title?: string) => Toast['id']; info: (status: Status, title?: string) => Toast['id']; warning: (status: Status, title?: string) => Toast['id']; error: (status: Status, title?: string) => Toast['id']; loader: (status: Status, title?: string) => Toast['id']; prompt: (status: Omit & { answers: Record; }) => Promise; updateToast: (id: Toast['id'], status: ToastOptions) => boolean; settings: (settings?: Settings) => Settings; findToast: (id: T) => Toast | undefined; getToasts: () => Toast[]; stopLoader: (id?: Toast['id']) => number; remove: (id?: Toast['id']) => number; } export declare let app: { container: ContainerMethods; }; export declare const toastMethods: ToastPluginAPI; export default function useToast(): ToastPluginAPI;