import type { DocNode, InferInlineNode } from "../../doc/types.js";
import type { CopyHook } from "./types.js";
/**
 * An extension to handle copying to plain text.
 */
export declare const plainCopy: <T extends DocNode>(serializer?: (node: InferInlineNode<T>) => string) => CopyHook;
