@alauda/doom
Version:
Doctor Doom making docs.
17 lines (16 loc) • 602 B
TypeScript
import type { RootContent } from 'mdast';
import type { NormalizedReferenceSource } from './types.ts';
export interface NormalizeImgSrcOptions {
refSource?: NormalizedReferenceSource;
localPublicBase: string;
publicBase?: string;
sourceBase: string;
targetBase: string;
force?: boolean;
translating?: {
source: string;
target: string;
copy?: boolean;
};
}
export declare const normalizeImgSrc: (content: RootContent, { refSource, localPublicBase, publicBase, sourceBase, targetBase, force, translating, }: NormalizeImgSrcOptions) => RootContent;