import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Model resource in Oracle Cloud Infrastructure Ai Document service.
 *
 * Get a model by identifier.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testModel = oci.aidocument.getModel({
 *     modelId: testModelOciAiDocumentModel.id,
 * });
 * ```
 */
export declare function getModel(args: GetModelArgs, opts?: pulumi.InvokeOptions): Promise<GetModelResult>;
/**
 * A collection of arguments for invoking getModel.
 */
export interface GetModelArgs {
    /**
     * A unique model identifier.
     */
    modelId: string;
}
/**
 * A collection of values returned by getModel.
 */
export interface GetModelResult {
    /**
     * The lock compartment ID.
     */
    readonly compartmentId: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) collection of active custom Key Value models that need to be composed.
     */
    readonly componentModels: outputs.AiDocument.GetModelComponentModel[];
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
     */
    readonly definedTags: {
        [key: string]: string;
    };
    /**
     * An optional description of the model.
     */
    readonly description: string;
    /**
     * A human-friendly name for the model, which can be changed.
     */
    readonly displayName: string;
    /**
     * A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
     */
    readonly freeformTags: {
        [key: string]: string;
    };
    /**
     * A unique identifier that is immutable after creation.
     */
    readonly id: string;
    /**
     * Number of replicas required for this model.
     */
    readonly inferenceUnits: number;
    /**
     * Set to true when the model is created by using multiple key value extraction models.
     */
    readonly isComposedModel: boolean;
    /**
     * Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.
     */
    readonly isQuickMode: boolean;
    /**
     * The collection of labels used to train the custom model.
     */
    readonly labels: string[];
    /**
     * The document language for model training, abbreviated according to the BCP 47 syntax.
     */
    readonly language: string;
    /**
     * A message describing the current state in more detail, that can provide actionable information if training failed.
     */
    readonly lifecycleDetails: string;
    /**
     * Locks associated with this resource.
     */
    readonly locks: outputs.AiDocument.GetModelLock[];
    /**
     * The maximum model training time in hours, expressed as a decimal fraction.
     */
    readonly maxTrainingTimeInHours: number;
    /**
     * Trained Model Metrics.
     */
    readonly metrics: outputs.AiDocument.GetModelMetric[];
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed.
     */
    readonly modelId: string;
    /**
     * The model sub type for PRE_TRAINED_KEY_VALUE_EXTRACTION The allowed values are:
     * * `RECEIPT`
     * * `INVOICE`
     * * `PASSPORT`
     * * `DRIVER_LICENSE`
     * * `HEALTH_INSURANCE_ID`
     */
    readonly modelSubTypes: outputs.AiDocument.GetModelModelSubType[];
    /**
     * The type of the Document model.
     */
    readonly modelType: string;
    /**
     * The version of the model.
     */
    readonly modelVersion: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model.
     */
    readonly projectId: string;
    /**
     * The current state of the model.
     */
    readonly state: string;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
     */
    readonly systemTags: {
        [key: string]: string;
    };
    /**
     * The tenancy id of the model.
     */
    readonly tenancyId: string;
    /**
     * The base entity which is the input for creating and training a model.
     */
    readonly testingDatasets: outputs.AiDocument.GetModelTestingDataset[];
    /**
     * When the model was created, as an RFC3339 datetime string.
     */
    readonly timeCreated: string;
    /**
     * When the model was updated, as an RFC3339 datetime string.
     */
    readonly timeUpdated: string;
    /**
     * The total hours actually used for model training.
     */
    readonly trainedTimeInHours: number;
    /**
     * The base entity which is the input for creating and training a model.
     */
    readonly trainingDatasets: outputs.AiDocument.GetModelTrainingDataset[];
    /**
     * The base entity which is the input for creating and training a model.
     */
    readonly validationDatasets: outputs.AiDocument.GetModelValidationDataset[];
}
/**
 * This data source provides details about a specific Model resource in Oracle Cloud Infrastructure Ai Document service.
 *
 * Get a model by identifier.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testModel = oci.aidocument.getModel({
 *     modelId: testModelOciAiDocumentModel.id,
 * });
 * ```
 */
export declare function getModelOutput(args: GetModelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetModelResult>;
/**
 * A collection of arguments for invoking getModel.
 */
export interface GetModelOutputArgs {
    /**
     * A unique model identifier.
     */
    modelId: pulumi.Input<string>;
}
//# sourceMappingURL=getModel.d.ts.map