import { createStore } from "../core/store";

export type ConfirmItem = {
  id: string;
  title: string;
  content?: string;
  noOk?: boolean;
  noCancel?: boolean;
  resolve: (v: boolean) => void;
};

export const confirmStore = createStore<{ queue: ConfirmItem[]; }>({
  queue: [],
});



