import type { ServiceInterface } from './AbstractService.js'; import { AbstractService } from './AbstractService.js'; export interface MutationServiceProps { mutations: MutationRecord[]; } export type MutationServiceInterface = ServiceInterface; export type MutationServiceOptions = MutationObserverInit; export declare class MutationService extends AbstractService { props: MutationServiceProps; target: Node; options: MutationObserverInit; observer: MutationObserver; constructor(target?: Node, options?: MutationObserverInit); init(): void; kill(): void; } /** * Use the mutation service. * @link https://js-toolkit.studiometa.dev/api/services/useMutation.html */ export declare function useMutation(target?: Node, options?: MutationObserverInit): MutationServiceInterface;