import { JsonResponse } from './JsonResponse.js'; /** * Class representing a JsonpResponse. * * @author Mr. Stone */ export declare class JsonpResponse extends JsonResponse { static readonly OUTGOING_HTTP_RESPONSE = "stonejs@outgoing_http_jsonp_response"; private callback?; /** * Set callback. * * @param callback - The callback function name or array of names. * @returns The current instance for method chaining. */ setCallback(callback: string | string[]): this; /** * Get callback. * * @returns The callback function name. */ getCallback(): string | undefined; /** * Make JSONP response. * * @returns The current instance for method chaining. * @throws {HttpError} If no callback is provided. */ protected makeJson(): this; }