import { DispatchEventOptions, DispatchEventPayload, SwissAttrs, SwissEvent } from "../../global/types/index.js"; export declare const serialiseAttributes: { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }; export declare function getAttributes(attrs: NamedNodeMap): Attrs; export declare function hasApplicableMutations(node: HTMLElement, mutations: MutationRecord[]): boolean; export declare function dispatchEvent(node: HTMLElement): (name: Attrs extends SwissAttrs ? SwissEvent : string, payload: DispatchEventPayload, options?: DispatchEventOptions) => boolean; export declare function attachShadow(node: HTMLElement): HTMLElement | ShadowRoot; //# sourceMappingURL=utils.d.ts.map