import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ProxyPutProxyGlobals = {
    /**
     * ID of the consumer which you want to get or push data from
     */
    consumerId?: string | undefined;
    /**
     * The ID of your Unify application
     */
    appId?: string | undefined;
};
export type RequestBody3 = {};
export type RequestBody1 = {};
export type ProxyPutProxyRequest = {
    /**
     * ID of the consumer which you want to get or push data from
     */
    consumerId?: string | undefined;
    /**
     * The ID of your Unify application
     */
    appId?: string | undefined;
    /**
     * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
     */
    serviceId: string;
    /**
     * Specify which unified API to use for the connection lookup. Required for multi-API connectors (e.g., Workday) to ensure the correct credentials are used.
     */
    unifiedApi?: string | undefined;
    /**
     * Downstream URL
     */
    downstreamUrl: string;
    /**
     * Downstream authorization header. This will skip the Vault token injection.
     */
    downstreamAuthorization?: string | undefined;
    /**
     * Depending on the verb/method of the request this will contain the request body you want to POST/PATCH/PUT.
     */
    requestBody?: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array | undefined;
};
export type ProxyPutProxyResponse = {
    httpMeta: components.HTTPMetadata;
    /**
     * Ok
     */
    responseJson?: {
        [k: string]: any;
    } | undefined;
    /**
     * Ok
     */
    responseBinary?: ReadableStream<Uint8Array> | undefined;
    /**
     * Ok
     */
    responsePdf?: ReadableStream<Uint8Array> | undefined;
    /**
     * Ok
     */
    responseXml?: string | undefined;
    /**
     * Ok
     */
    responseCsv?: string | undefined;
    /**
     * Ok
     */
    responseText?: string | undefined;
    /**
     * Proxy error
     */
    errorJson?: {
        [k: string]: any;
    } | undefined;
    /**
     * Proxy error
     */
    errorXml?: string | undefined;
    /**
     * Proxy error
     */
    errorHtml?: string | undefined;
    /**
     * Proxy error
     */
    errorText?: string | undefined;
};
/** @internal */
export type RequestBody3$Outbound = {};
/** @internal */
export declare const RequestBody3$outboundSchema: z.ZodType<RequestBody3$Outbound, z.ZodTypeDef, RequestBody3>;
export declare function requestBody3ToJSON(requestBody3: RequestBody3): string;
/** @internal */
export type RequestBody1$Outbound = {};
/** @internal */
export declare const RequestBody1$outboundSchema: z.ZodType<RequestBody1$Outbound, z.ZodTypeDef, RequestBody1>;
export declare function requestBody1ToJSON(requestBody1: RequestBody1): string;
/** @internal */
export type ProxyPutProxyRequest$Outbound = {
    consumerId?: string | undefined;
    appId?: string | undefined;
    serviceId: string;
    unifiedApi?: string | undefined;
    downstreamUrl: string;
    downstreamAuthorization?: string | undefined;
    RequestBody?: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array | undefined;
};
/** @internal */
export declare const ProxyPutProxyRequest$outboundSchema: z.ZodType<ProxyPutProxyRequest$Outbound, z.ZodTypeDef, ProxyPutProxyRequest>;
export declare function proxyPutProxyRequestToJSON(proxyPutProxyRequest: ProxyPutProxyRequest): string;
/** @internal */
export declare const ProxyPutProxyResponse$inboundSchema: z.ZodType<ProxyPutProxyResponse, z.ZodTypeDef, unknown>;
export declare function proxyPutProxyResponseFromJSON(jsonString: string): SafeParseResult<ProxyPutProxyResponse, SDKValidationError>;
//# sourceMappingURL=proxyputproxy.d.ts.map