import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
export type StackoneUpdateAccountRequest = {
    patchAccountExternalDto: shared.PatchAccountExternalDto;
    id: string;
};
export type StackoneUpdateAccountResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The account with the given identifier was updated.
     */
    linkedAccount?: shared.LinkedAccount | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const StackoneUpdateAccountRequest$inboundSchema: z.ZodType<StackoneUpdateAccountRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type StackoneUpdateAccountRequest$Outbound = {
    PatchAccountExternalDto: shared.PatchAccountExternalDto$Outbound;
    id: string;
};
/** @internal */
export declare const StackoneUpdateAccountRequest$outboundSchema: z.ZodType<StackoneUpdateAccountRequest$Outbound, z.ZodTypeDef, StackoneUpdateAccountRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace StackoneUpdateAccountRequest$ {
    /** @deprecated use `StackoneUpdateAccountRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<StackoneUpdateAccountRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `StackoneUpdateAccountRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<StackoneUpdateAccountRequest$Outbound, z.ZodTypeDef, StackoneUpdateAccountRequest>;
    /** @deprecated use `StackoneUpdateAccountRequest$Outbound` instead. */
    type Outbound = StackoneUpdateAccountRequest$Outbound;
}
export declare function stackoneUpdateAccountRequestToJSON(stackoneUpdateAccountRequest: StackoneUpdateAccountRequest): string;
export declare function stackoneUpdateAccountRequestFromJSON(jsonString: string): SafeParseResult<StackoneUpdateAccountRequest, SDKValidationError>;
/** @internal */
export declare const StackoneUpdateAccountResponse$inboundSchema: z.ZodType<StackoneUpdateAccountResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type StackoneUpdateAccountResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    LinkedAccount?: shared.LinkedAccount$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const StackoneUpdateAccountResponse$outboundSchema: z.ZodType<StackoneUpdateAccountResponse$Outbound, z.ZodTypeDef, StackoneUpdateAccountResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace StackoneUpdateAccountResponse$ {
    /** @deprecated use `StackoneUpdateAccountResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<StackoneUpdateAccountResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `StackoneUpdateAccountResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<StackoneUpdateAccountResponse$Outbound, z.ZodTypeDef, StackoneUpdateAccountResponse>;
    /** @deprecated use `StackoneUpdateAccountResponse$Outbound` instead. */
    type Outbound = StackoneUpdateAccountResponse$Outbound;
}
export declare function stackoneUpdateAccountResponseToJSON(stackoneUpdateAccountResponse: StackoneUpdateAccountResponse): string;
export declare function stackoneUpdateAccountResponseFromJSON(jsonString: string): SafeParseResult<StackoneUpdateAccountResponse, SDKValidationError>;
//# sourceMappingURL=stackoneupdateaccount.d.ts.map