import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type SearchDatasourceInMDFieldGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
/**
 * Metadata payload for rule-based inference
 */
export type Payload = {};
export type SearchDatasourceInMDFieldRequestBody = {
    /**
     * Metadata payload for rule-based inference
     */
    payload?: Payload | undefined;
};
export type SearchDatasourceInMDFieldRequest = {
    /**
     * The external ID of the metadata field to search the datasource for.
     */
    externalId: string;
    /**
     * The maximum number of results to return.
     */
    maxResults?: number | undefined;
    /**
     * The term to search for. can be any substring of the value.
     */
    term?: string | undefined;
    /**
     * Whether to search for an exact match.
     */
    exactMatch?: boolean | undefined;
    requestBody: SearchDatasourceInMDFieldRequestBody;
};
/** @internal */
export declare const SearchDatasourceInMDFieldGlobals$inboundSchema: z.ZodType<SearchDatasourceInMDFieldGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchDatasourceInMDFieldGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const SearchDatasourceInMDFieldGlobals$outboundSchema: z.ZodType<SearchDatasourceInMDFieldGlobals$Outbound, z.ZodTypeDef, SearchDatasourceInMDFieldGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchDatasourceInMDFieldGlobals$ {
    /** @deprecated use `SearchDatasourceInMDFieldGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchDatasourceInMDFieldGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchDatasourceInMDFieldGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchDatasourceInMDFieldGlobals$Outbound, z.ZodTypeDef, SearchDatasourceInMDFieldGlobals>;
    /** @deprecated use `SearchDatasourceInMDFieldGlobals$Outbound` instead. */
    type Outbound = SearchDatasourceInMDFieldGlobals$Outbound;
}
export declare function searchDatasourceInMDFieldGlobalsToJSON(searchDatasourceInMDFieldGlobals: SearchDatasourceInMDFieldGlobals): string;
export declare function searchDatasourceInMDFieldGlobalsFromJSON(jsonString: string): SafeParseResult<SearchDatasourceInMDFieldGlobals, SDKValidationError>;
/** @internal */
export declare const Payload$inboundSchema: z.ZodType<Payload, z.ZodTypeDef, unknown>;
/** @internal */
export type Payload$Outbound = {};
/** @internal */
export declare const Payload$outboundSchema: z.ZodType<Payload$Outbound, z.ZodTypeDef, Payload>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Payload$ {
    /** @deprecated use `Payload$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Payload, z.ZodTypeDef, unknown>;
    /** @deprecated use `Payload$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Payload$Outbound, z.ZodTypeDef, Payload>;
    /** @deprecated use `Payload$Outbound` instead. */
    type Outbound = Payload$Outbound;
}
export declare function payloadToJSON(payload: Payload): string;
export declare function payloadFromJSON(jsonString: string): SafeParseResult<Payload, SDKValidationError>;
/** @internal */
export declare const SearchDatasourceInMDFieldRequestBody$inboundSchema: z.ZodType<SearchDatasourceInMDFieldRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchDatasourceInMDFieldRequestBody$Outbound = {
    payload?: Payload$Outbound | undefined;
};
/** @internal */
export declare const SearchDatasourceInMDFieldRequestBody$outboundSchema: z.ZodType<SearchDatasourceInMDFieldRequestBody$Outbound, z.ZodTypeDef, SearchDatasourceInMDFieldRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchDatasourceInMDFieldRequestBody$ {
    /** @deprecated use `SearchDatasourceInMDFieldRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchDatasourceInMDFieldRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchDatasourceInMDFieldRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchDatasourceInMDFieldRequestBody$Outbound, z.ZodTypeDef, SearchDatasourceInMDFieldRequestBody>;
    /** @deprecated use `SearchDatasourceInMDFieldRequestBody$Outbound` instead. */
    type Outbound = SearchDatasourceInMDFieldRequestBody$Outbound;
}
export declare function searchDatasourceInMDFieldRequestBodyToJSON(searchDatasourceInMDFieldRequestBody: SearchDatasourceInMDFieldRequestBody): string;
export declare function searchDatasourceInMDFieldRequestBodyFromJSON(jsonString: string): SafeParseResult<SearchDatasourceInMDFieldRequestBody, SDKValidationError>;
/** @internal */
export declare const SearchDatasourceInMDFieldRequest$inboundSchema: z.ZodType<SearchDatasourceInMDFieldRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchDatasourceInMDFieldRequest$Outbound = {
    external_id: string;
    max_results: number;
    term?: string | undefined;
    exact_match: boolean;
    RequestBody: SearchDatasourceInMDFieldRequestBody$Outbound;
};
/** @internal */
export declare const SearchDatasourceInMDFieldRequest$outboundSchema: z.ZodType<SearchDatasourceInMDFieldRequest$Outbound, z.ZodTypeDef, SearchDatasourceInMDFieldRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchDatasourceInMDFieldRequest$ {
    /** @deprecated use `SearchDatasourceInMDFieldRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchDatasourceInMDFieldRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchDatasourceInMDFieldRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchDatasourceInMDFieldRequest$Outbound, z.ZodTypeDef, SearchDatasourceInMDFieldRequest>;
    /** @deprecated use `SearchDatasourceInMDFieldRequest$Outbound` instead. */
    type Outbound = SearchDatasourceInMDFieldRequest$Outbound;
}
export declare function searchDatasourceInMDFieldRequestToJSON(searchDatasourceInMDFieldRequest: SearchDatasourceInMDFieldRequest): string;
export declare function searchDatasourceInMDFieldRequestFromJSON(jsonString: string): SafeParseResult<SearchDatasourceInMDFieldRequest, SDKValidationError>;
//# sourceMappingURL=searchdatasourceinmdfield.d.ts.map