export type RichTextImageAttrsRef = {
    attrs: Record<string, unknown>;
    location: string;
};
export declare function walkAndCollectImageAttrs(value: unknown, out: RichTextImageAttrsRef[], location?: string): void;
export declare function pickFilenameFromUrl(url: URL, fallbackBase?: string): string;
