import type { ProviderOptions, URLExtractorMap } from "./providers/types.js"; import type { ImageCdn, ParseURLResult, URLExtractor } from "./types.js"; export declare const parsers: URLExtractorMap; /** * Returns a parser function if the given URL is from a known image CDN */ export declare const getExtractorForUrl: (url: string | URL) => URLExtractor | undefined; export declare const getExtractorForProvider: (cdn: TCDN | false | undefined) => URLExtractor | undefined; /** * Parses an image URL into its components. * If the URL is not from a known image CDN it returns undefined. */ export declare const parseUrl: (url: string | URL, cdn?: TCDN, options?: ProviderOptions[TCDN]) => ParseURLResult; //# sourceMappingURL=extract.d.ts.map