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 ProxyPostProxyGlobals = {
    /**
     * 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 Three = {};
export type One = {};
export type ProxyPostProxyRequest = {
    /**
     * 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 ProxyPostProxyResponse = {
    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 Three$Outbound = {};
/** @internal */
export declare const Three$outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
export declare function threeToJSON(three: Three): string;
/** @internal */
export type One$Outbound = {};
/** @internal */
export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
export declare function oneToJSON(one: One): string;
/** @internal */
export type ProxyPostProxyRequest$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 ProxyPostProxyRequest$outboundSchema: z.ZodType<ProxyPostProxyRequest$Outbound, z.ZodTypeDef, ProxyPostProxyRequest>;
export declare function proxyPostProxyRequestToJSON(proxyPostProxyRequest: ProxyPostProxyRequest): string;
/** @internal */
export declare const ProxyPostProxyResponse$inboundSchema: z.ZodType<ProxyPostProxyResponse, z.ZodTypeDef, unknown>;
export declare function proxyPostProxyResponseFromJSON(jsonString: string): SafeParseResult<ProxyPostProxyResponse, SDKValidationError>;
//# sourceMappingURL=proxypostproxy.d.ts.map