import { ComputedRef, MaybeRefOrGetter } from 'vue'; /** * Whether the alert is shown in full, or folded to one line. A folded alert tells whether it * says something else now than when it was folded. */ export type AlertFoldState = { type: "open"; } | { type: "folded"; updated: boolean; }; /** * The fold of the alert of block `blockId`, which says `saying` now. The fold is the reader's own: * it is kept in the browser storage, not with the block, so it does not change the block. An * alert is open until the reader folds it. */ export declare function useAlertFold(options: { blockId: MaybeRefOrGetter; saying: MaybeRefOrGetter; }): { state: ComputedRef; fold: () => void; open: () => void; }; //# sourceMappingURL=fold.d.ts.map