/** * a style hiding elements visually with `.visually-hidden` selector. * These elements would be available to screen readers only. */ declare const VISUALLY_HIDDEN_STYLE = "\n .visually-hidden {\n position: absolute;\n overflow: hidden;\n width: 1px;\n height: 1px;\n clip: rect(0, 0, 0, 0);\n clip-path: inset(50%);\n margin: -1px;\n border: 0;\n padding: 0;\n }\n"; /** * Get innerText from element ids * @param rootNode Root node * @param ids Space separated string of ids, e.g. id1 id2 id3 * @returns combined text */ declare const textFromElementIds: (rootNode: Document | DocumentFragment, ids: string) => string; export { textFromElementIds, VISUALLY_HIDDEN_STYLE };