/**
 * Shared utilities for inset(top% right% bottom% left%) clip-path (e.g. from DOCX a:srcRect).
 * Used by both the layout-engine painters and super-editor image extension so the same
 * scale/translate math is applied everywhere.
 */
/** Result of parsing an inset() clip-path for scale/translate. */
export type InsetClipPathScale = {
    scaleX: number;
    scaleY: number;
    translateX: number;
    translateY: number;
};
/**
 * Parses inset(top% right% bottom% left%) from a clipPath string and returns scale + translate
 * so the visible clipped portion fills the container and is aligned to top-left.
 *
 * @param clipPath - e.g. "inset(10% 20% 30% 40%)"
 * @returns Scale and translate values, or null if not a valid inset()
 */
export declare function parseInsetClipPathForScale(clipPath: string): InsetClipPathScale | null;
/**
 * Builds the CSS transform-origin and transform string from a parsed inset scale result.
 *
 * @param clipPath - e.g. "inset(10% 20% 30% 40%)"
 * @returns CSS fragment: "transform-origin: 0 0; transform: translate(...) scale(...);"
 */
export declare function formatInsetClipPathTransform(clipPath: string): string | undefined;
//# sourceMappingURL=clip-path-inset.d.ts.map