import type { Pail } from "@visulima/pail";
import type { Plugin } from "rollup";
export type PatchTypesOptions = {
    identifierReplacements?: Record<string, Record<string, string>>;
};
/**
 * Patch the types files before passing to dts plugin
 *
 * 1. Validate unallowed dependency imports
 * 2. Replace confusing type names
 * 3. Strip leftover internal types
 * 4. Clean unnecessary comments
 */
export declare const patchTypescriptTypes: (options: PatchTypesOptions, logger: Pail) => Plugin;
