export declare const SWAP_STRATEGIES: {
    readonly OUTER_HTML: "outerHTML";
    readonly INNER_HTML: "innerHTML";
    readonly BEFORE_END: "beforeend";
    readonly AFTER_BEGIN: "afterbegin";
};
export type SwapStrategy = (typeof SWAP_STRATEGIES)[keyof typeof SWAP_STRATEGIES];
export type CustomSwapFn = (opts: {
    target: Element;
    text: string;
}) => void;
export declare function mapPlacementToSwap(placement: string): string;
export declare function applySwap(target: Element, content: string, swapStrategy: string | CustomSwapFn): boolean;
export declare function isElementInDocument(element: Element): boolean;
//# sourceMappingURL=dom.d.ts.map