import { type StorageBackend } from './use-local-storage'; export interface UseDismissibleOptions { /** Which Web Storage area the dismissal is persisted to. */ storage?: StorageBackend; } export interface UseDismissibleReturn { /** Whether the surface should show (`true` until dismissed) */ open: boolean; /** Mark it dismissed and persist that */ dismiss: () => void; /** Clear the dismissal so it shows again */ reset: () => void; } /** * Tracks whether a dismissible surface (banner, callout, etc.) should still be * shown, persisting the dismissal under `key`. SSR-safe (`open` is `true` until * the stored value is known) and synced across tabs and components. */ export declare function useDismissible(key: string, { storage }?: UseDismissibleOptions): UseDismissibleReturn; //# sourceMappingURL=use-dismissible.d.ts.map