import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type PatchAccountExternalDtoCredentials = {};
export type Label = {};
export type PatchAccountExternalDtoMetadata = {};
export type Secrets = {};
export type PatchAccountExternalDtoSetupInformation = {};
export type PatchAccountExternalDto = {
    authenticationConfigKey?: string | null | undefined;
    credentials?: PatchAccountExternalDtoCredentials | null | undefined;
    environment?: string | null | undefined;
    label?: Label | null | undefined;
    metadata?: PatchAccountExternalDtoMetadata | null | undefined;
    originOwnerId?: string | null | undefined;
    originOwnerName?: string | null | undefined;
    originUsername?: string | null | undefined;
    provider?: string | null | undefined;
    secrets?: Secrets | null | undefined;
    setupInformation?: PatchAccountExternalDtoSetupInformation | null | undefined;
};
/** @internal */
export declare const PatchAccountExternalDtoCredentials$inboundSchema: z.ZodType<PatchAccountExternalDtoCredentials, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchAccountExternalDtoCredentials$Outbound = {};
/** @internal */
export declare const PatchAccountExternalDtoCredentials$outboundSchema: z.ZodType<PatchAccountExternalDtoCredentials$Outbound, z.ZodTypeDef, PatchAccountExternalDtoCredentials>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PatchAccountExternalDtoCredentials$ {
    /** @deprecated use `PatchAccountExternalDtoCredentials$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PatchAccountExternalDtoCredentials, z.ZodTypeDef, unknown>;
    /** @deprecated use `PatchAccountExternalDtoCredentials$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PatchAccountExternalDtoCredentials$Outbound, z.ZodTypeDef, PatchAccountExternalDtoCredentials>;
    /** @deprecated use `PatchAccountExternalDtoCredentials$Outbound` instead. */
    type Outbound = PatchAccountExternalDtoCredentials$Outbound;
}
export declare function patchAccountExternalDtoCredentialsToJSON(patchAccountExternalDtoCredentials: PatchAccountExternalDtoCredentials): string;
export declare function patchAccountExternalDtoCredentialsFromJSON(jsonString: string): SafeParseResult<PatchAccountExternalDtoCredentials, SDKValidationError>;
/** @internal */
export declare const Label$inboundSchema: z.ZodType<Label, z.ZodTypeDef, unknown>;
/** @internal */
export type Label$Outbound = {};
/** @internal */
export declare const Label$outboundSchema: z.ZodType<Label$Outbound, z.ZodTypeDef, Label>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Label$ {
    /** @deprecated use `Label$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Label, z.ZodTypeDef, unknown>;
    /** @deprecated use `Label$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Label$Outbound, z.ZodTypeDef, Label>;
    /** @deprecated use `Label$Outbound` instead. */
    type Outbound = Label$Outbound;
}
export declare function labelToJSON(label: Label): string;
export declare function labelFromJSON(jsonString: string): SafeParseResult<Label, SDKValidationError>;
/** @internal */
export declare const PatchAccountExternalDtoMetadata$inboundSchema: z.ZodType<PatchAccountExternalDtoMetadata, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchAccountExternalDtoMetadata$Outbound = {};
/** @internal */
export declare const PatchAccountExternalDtoMetadata$outboundSchema: z.ZodType<PatchAccountExternalDtoMetadata$Outbound, z.ZodTypeDef, PatchAccountExternalDtoMetadata>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PatchAccountExternalDtoMetadata$ {
    /** @deprecated use `PatchAccountExternalDtoMetadata$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PatchAccountExternalDtoMetadata, z.ZodTypeDef, unknown>;
    /** @deprecated use `PatchAccountExternalDtoMetadata$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PatchAccountExternalDtoMetadata$Outbound, z.ZodTypeDef, PatchAccountExternalDtoMetadata>;
    /** @deprecated use `PatchAccountExternalDtoMetadata$Outbound` instead. */
    type Outbound = PatchAccountExternalDtoMetadata$Outbound;
}
export declare function patchAccountExternalDtoMetadataToJSON(patchAccountExternalDtoMetadata: PatchAccountExternalDtoMetadata): string;
export declare function patchAccountExternalDtoMetadataFromJSON(jsonString: string): SafeParseResult<PatchAccountExternalDtoMetadata, SDKValidationError>;
/** @internal */
export declare const Secrets$inboundSchema: z.ZodType<Secrets, z.ZodTypeDef, unknown>;
/** @internal */
export type Secrets$Outbound = {};
/** @internal */
export declare const Secrets$outboundSchema: z.ZodType<Secrets$Outbound, z.ZodTypeDef, Secrets>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Secrets$ {
    /** @deprecated use `Secrets$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Secrets, z.ZodTypeDef, unknown>;
    /** @deprecated use `Secrets$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Secrets$Outbound, z.ZodTypeDef, Secrets>;
    /** @deprecated use `Secrets$Outbound` instead. */
    type Outbound = Secrets$Outbound;
}
export declare function secretsToJSON(secrets: Secrets): string;
export declare function secretsFromJSON(jsonString: string): SafeParseResult<Secrets, SDKValidationError>;
/** @internal */
export declare const PatchAccountExternalDtoSetupInformation$inboundSchema: z.ZodType<PatchAccountExternalDtoSetupInformation, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchAccountExternalDtoSetupInformation$Outbound = {};
/** @internal */
export declare const PatchAccountExternalDtoSetupInformation$outboundSchema: z.ZodType<PatchAccountExternalDtoSetupInformation$Outbound, z.ZodTypeDef, PatchAccountExternalDtoSetupInformation>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PatchAccountExternalDtoSetupInformation$ {
    /** @deprecated use `PatchAccountExternalDtoSetupInformation$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PatchAccountExternalDtoSetupInformation, z.ZodTypeDef, unknown>;
    /** @deprecated use `PatchAccountExternalDtoSetupInformation$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PatchAccountExternalDtoSetupInformation$Outbound, z.ZodTypeDef, PatchAccountExternalDtoSetupInformation>;
    /** @deprecated use `PatchAccountExternalDtoSetupInformation$Outbound` instead. */
    type Outbound = PatchAccountExternalDtoSetupInformation$Outbound;
}
export declare function patchAccountExternalDtoSetupInformationToJSON(patchAccountExternalDtoSetupInformation: PatchAccountExternalDtoSetupInformation): string;
export declare function patchAccountExternalDtoSetupInformationFromJSON(jsonString: string): SafeParseResult<PatchAccountExternalDtoSetupInformation, SDKValidationError>;
/** @internal */
export declare const PatchAccountExternalDto$inboundSchema: z.ZodType<PatchAccountExternalDto, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchAccountExternalDto$Outbound = {
    authentication_config_key?: string | null | undefined;
    credentials?: PatchAccountExternalDtoCredentials$Outbound | null | undefined;
    environment?: string | null | undefined;
    label?: Label$Outbound | null | undefined;
    metadata?: PatchAccountExternalDtoMetadata$Outbound | null | undefined;
    origin_owner_id?: string | null | undefined;
    origin_owner_name?: string | null | undefined;
    origin_username?: string | null | undefined;
    provider?: string | null | undefined;
    secrets?: Secrets$Outbound | null | undefined;
    setup_information?: PatchAccountExternalDtoSetupInformation$Outbound | null | undefined;
};
/** @internal */
export declare const PatchAccountExternalDto$outboundSchema: z.ZodType<PatchAccountExternalDto$Outbound, z.ZodTypeDef, PatchAccountExternalDto>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PatchAccountExternalDto$ {
    /** @deprecated use `PatchAccountExternalDto$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PatchAccountExternalDto, z.ZodTypeDef, unknown>;
    /** @deprecated use `PatchAccountExternalDto$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PatchAccountExternalDto$Outbound, z.ZodTypeDef, PatchAccountExternalDto>;
    /** @deprecated use `PatchAccountExternalDto$Outbound` instead. */
    type Outbound = PatchAccountExternalDto$Outbound;
}
export declare function patchAccountExternalDtoToJSON(patchAccountExternalDto: PatchAccountExternalDto): string;
export declare function patchAccountExternalDtoFromJSON(jsonString: string): SafeParseResult<PatchAccountExternalDto, SDKValidationError>;
//# sourceMappingURL=patchaccountexternaldto.d.ts.map