// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class ContentV2 extends APIResource {
    /**
     * Fetch script content only
     */
    get(scriptName, params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/workers/scripts/${scriptName}/content/v2`, {
            ...options,
            __binaryResponse: true,
        });
    }
}
(function (ContentV2) {
})(ContentV2 || (ContentV2 = {}));
//# sourceMappingURL=content-v2.mjs.map