export type ExtractObjectPathOptions = { /** * Marker inside pathname (e.g. "/uploads/") used to extract the objectPath. * Default: "/uploads/" */ marker?: string; /** * If provided, and the raw url starts with baseUrl, we will strip it and treat the remainder as objectPath. * Useful when `file.url` is generated as `${baseUrl}/${objectPath}` without a "/uploads/" marker. */ baseUrl?: string; }; export declare function extractObjectPathFromUrl(url: unknown, opts?: ExtractObjectPathOptions): string | null;