import { Effect } from 'effect'; /** * Marks all DOM elements outside the given selectors as `inert` and * `aria-hidden="true"`. Walks each allowed element up to `document.body`, * marking siblings that don't contain an allowed element. Uses reference * counting so nested calls are safe. * * @example * ```typescript * Dom.inertOthers('my-menu', ['#menu-button', '#menu-items']) * ``` */ export declare const inertOthers: (id: string, allowedSelectors: ReadonlyArray) => Effect.Effect; /** * Restores all elements previously marked inert by `inertOthers` for the * given ID. Safe to call without a preceding `inertOthers`. Acts as a no-op * in that case. * * @example * ```typescript * Dom.restoreInert('my-menu') * ``` */ export declare const restoreInert: (id: string) => Effect.Effect; //# sourceMappingURL=inert.d.ts.map