import { SetState } from 'zustand'; import { Message } from '@buerli.io/core'; export declare type MessageT = Message & { timestamp: number; isShown: boolean; }; declare type StoreT = { msgs: Record; api: ReturnType; }; declare function createApi(set: SetState): { setMsg: (msgId: string, msg: MessageT) => void; deleteMsg: (msgId: string) => void; deleteAllMsgs: () => void; setShown: () => void; }; export declare const useMsgStore: import("zustand").UseBoundStore>; export {};