import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type MetadataFieldDatasourceValue = {
    /**
     * The external ID of the datasource value.
     */
    externalId?: string | undefined;
    /**
     * The value of the option.
     */
    value?: string | undefined;
};
/** @internal */
export declare const MetadataFieldDatasourceValue$inboundSchema: z.ZodType<MetadataFieldDatasourceValue, z.ZodTypeDef, unknown>;
/** @internal */
export type MetadataFieldDatasourceValue$Outbound = {
    external_id?: string | undefined;
    value?: string | undefined;
};
/** @internal */
export declare const MetadataFieldDatasourceValue$outboundSchema: z.ZodType<MetadataFieldDatasourceValue$Outbound, z.ZodTypeDef, MetadataFieldDatasourceValue>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MetadataFieldDatasourceValue$ {
    /** @deprecated use `MetadataFieldDatasourceValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MetadataFieldDatasourceValue, z.ZodTypeDef, unknown>;
    /** @deprecated use `MetadataFieldDatasourceValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MetadataFieldDatasourceValue$Outbound, z.ZodTypeDef, MetadataFieldDatasourceValue>;
    /** @deprecated use `MetadataFieldDatasourceValue$Outbound` instead. */
    type Outbound = MetadataFieldDatasourceValue$Outbound;
}
export declare function metadataFieldDatasourceValueToJSON(metadataFieldDatasourceValue: MetadataFieldDatasourceValue): string;
export declare function metadataFieldDatasourceValueFromJSON(jsonString: string): SafeParseResult<MetadataFieldDatasourceValue, SDKValidationError>;
//# sourceMappingURL=metadatafielddatasourcevalue.d.ts.map