/** * Extract the sample code download URL from an Apple Documentation page * * @param jsonUrl URL of the Apple Developer Documentation page * @returns The sample code download URL in the format: https://docs-assets.developer.apple.com/published/[identifier]/[filename].zip */ export declare function getSampleCodeDownloadUrl(jsonUrl: string): Promise; /** * Downloads, unzips, and analyzes an Apple Developer code sample from a ZIP file * Extracts the sample to the user's home directory * * @param zipUrl URL of the Apple Developer code sample ZIP file or documentation page URL * @returns Formatted information about the code sample or error response */ export declare function downloadAndAnalyzeCodeSample(url: string): Promise<{ content: { type: "text"; text: string; }[]; isError?: undefined; } | { content: { type: "text"; text: string; }[]; isError: boolean; }>; //# sourceMappingURL=download-helper.d.ts.map