import { Dispatch, ReactNode } from "react";

//#region src/core/types.d.ts
/** Inlined here to avoid circular dependency with toast module */
interface ToastListItem {
  id: string;
  component?: ReactNode;
}
interface ChildrenProp {
  children?: ReactNode;
}
interface VuiContext {
  toasts: {
    list: ToastListItem[];
  };
  addToast: (toast: ToastListItem) => void;
  removeToast: (id: string) => void;
  setPortalSlot: Dispatch<ReactNode>;
}
type KeyboardKeys = 'Enter' | 'Escape' | 'ArrowUp' | 'ArrowDown' | 'ArrowLeft' | 'ArrowRight' | 'Backspace' | 'Tab' | 'Shift' | 'Control' | 'Alt' | 'Meta' | 'Space' | 'Delete' | 'Home' | 'End' | 'PageUp' | 'PageDown';
//#endregion
export { ChildrenProp, KeyboardKeys, ToastListItem, VuiContext };

//# sourceMappingURL=types.d.ts.map