type OdsFormElement = HTMLElement & {
getValidationMessage: () => Promise;
getValidity: () => Promise;
};
declare function copyToClipboard(value?: string): Promise;
declare function escapeHtml(unsafe: string): string;
declare function getRandomHTMLId(): string;
declare function isElementInContainer(element: HTMLElement, container?: HTMLElement): boolean;
declare function isTargetInElement(event: Event, element?: HTMLElement | null): boolean;
declare function setInternalsValidityFromHtmlElement(formElement: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement, internals: ElementInternals): void;
declare function setInternalsValidityFromOdsComponent(odsFormElement: OdsFormElement, internals: ElementInternals): Promise;
declare function submitFormOnClick(event: MouseEvent, form: HTMLFormElement | null): void;
declare function submitFormOnEnter(event: KeyboardEvent, form: HTMLFormElement | null): void;
export { copyToClipboard, escapeHtml, getRandomHTMLId, isElementInContainer, isTargetInElement, setInternalsValidityFromHtmlElement, setInternalsValidityFromOdsComponent, submitFormOnClick, submitFormOnEnter, };