import * as HttpClient from "effect/unstable/http/HttpClient";
import * as redacted from "effect/Redacted";
import * as S from "effect/Schema";
import * as stream from "effect/Stream";
import * as API from "../client/api.ts";
import * as T from "../traits.ts";
import type { Credentials } from "../credentials.ts";
import type { CommonErrors } from "../errors.ts";
import type { Region } from "../region.ts";
export type DatastoreId = string;
export type ImageSetId = string;
export type ImageSetExternalVersionId = string;
export type CopiableAttributes = string | redacted.Redacted<string>;
export type Arn = string;
export type JobId = string;
export type JobName = string;
export type RoleArn = string;
export type S3Uri = string;
export type Message = string;
export type ImageFrameId = string;
export type NextToken = string;
export type TagKey = string;
export type TagValue = string;
export type DICOMPatientId = string | redacted.Redacted<string>;
export type DICOMAccessionNumber = string | redacted.Redacted<string>;
export type DICOMStudyId = string | redacted.Redacted<string>;
export type DICOMStudyInstanceUID = string | redacted.Redacted<string>;
export type DICOMSeriesInstanceUID = string | redacted.Redacted<string>;
export type DICOMStudyDate = string | redacted.Redacted<string>;
export type DICOMStudyTime = string | redacted.Redacted<string>;
export type DICOMPatientName = string | redacted.Redacted<string>;
export type DICOMPatientBirthDate = string | redacted.Redacted<string>;
export type DICOMPatientSex = string | redacted.Redacted<string>;
export type DICOMStudyDescription = string | redacted.Redacted<string>;
export type DICOMNumberOfStudyRelatedSeries = number;
export type DICOMNumberOfStudyRelatedInstances = number;
export type DICOMSeriesModality = string | redacted.Redacted<string>;
export type DICOMSeriesBodyPart = string | redacted.Redacted<string>;
export type DICOMSeriesNumber = number;
export type ClientToken = string;
export type AwsAccountId = string;
export type DICOMAttribute = Uint8Array | redacted.Redacted<Uint8Array>;
export type DatastoreName = string;
export type KmsKeyArn = string;
export type LambdaArn = string;
export interface MetadataCopies {
    copiableAttributes: string | redacted.Redacted<string>;
}
export declare const MetadataCopies: S.Schema<MetadataCopies>;
export interface CopySourceImageSetInformation {
    latestVersionId: string;
    DICOMCopies?: MetadataCopies;
}
export declare const CopySourceImageSetInformation: S.Schema<CopySourceImageSetInformation>;
export interface CopyDestinationImageSet {
    imageSetId: string;
    latestVersionId: string;
}
export declare const CopyDestinationImageSet: S.Schema<CopyDestinationImageSet>;
export interface CopyImageSetInformation {
    sourceImageSet: CopySourceImageSetInformation;
    destinationImageSet?: CopyDestinationImageSet;
}
export declare const CopyImageSetInformation: S.Schema<CopyImageSetInformation>;
export interface CopyImageSetRequest {
    datastoreId: string;
    sourceImageSetId: string;
    copyImageSetInformation: CopyImageSetInformation;
    force?: boolean;
    promoteToPrimary?: boolean;
}
export declare const CopyImageSetRequest: S.Schema<CopyImageSetRequest>;
export type ImageSetState = "ACTIVE" | "LOCKED" | "DELETED" | (string & {});
export declare const ImageSetState: S.String;
export type ImageSetWorkflowStatus = "CREATED" | "COPIED" | "COPYING" | "COPYING_WITH_READ_ONLY_ACCESS" | "COPY_FAILED" | "UPDATING" | "UPDATING_FOR_STUDY_CONSISTENCY" | "UPDATED" | "UPDATE_FAILED" | "DELETING" | "DELETED" | "IMPORTING" | "IMPORTED" | "IMPORT_FAILED" | (string & {});
export declare const ImageSetWorkflowStatus: S.String;
export interface CopySourceImageSetProperties {
    imageSetId: string;
    latestVersionId: string;
    imageSetState?: ImageSetState;
    imageSetWorkflowStatus?: ImageSetWorkflowStatus;
    createdAt?: Date;
    updatedAt?: Date;
    imageSetArn?: string;
}
export declare const CopySourceImageSetProperties: S.Schema<CopySourceImageSetProperties>;
export interface CopyDestinationImageSetProperties {
    imageSetId: string;
    latestVersionId: string;
    imageSetState?: ImageSetState;
    imageSetWorkflowStatus?: ImageSetWorkflowStatus;
    createdAt?: Date;
    updatedAt?: Date;
    imageSetArn?: string;
}
export declare const CopyDestinationImageSetProperties: S.Schema<CopyDestinationImageSetProperties>;
export interface CopyImageSetResponse {
    datastoreId: string;
    sourceImageSetProperties: CopySourceImageSetProperties;
    destinationImageSetProperties: CopyDestinationImageSetProperties;
}
export declare const CopyImageSetResponse: S.Schema<CopyImageSetResponse>;
export interface DeleteImageSetRequest {
    datastoreId: string;
    imageSetId: string;
}
export declare const DeleteImageSetRequest: S.Schema<DeleteImageSetRequest>;
export interface DeleteImageSetResponse {
    datastoreId: string;
    imageSetId: string;
    imageSetState: ImageSetState;
    imageSetWorkflowStatus: ImageSetWorkflowStatus;
}
export declare const DeleteImageSetResponse: S.Schema<DeleteImageSetResponse>;
export interface GetDICOMImportJobRequest {
    datastoreId: string;
    jobId: string;
}
export declare const GetDICOMImportJobRequest: S.Schema<GetDICOMImportJobRequest>;
export type JobStatus = "SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | (string & {});
export declare const JobStatus: S.String;
export interface DICOMImportJobProperties {
    jobId: string;
    jobName: string;
    jobStatus: JobStatus;
    datastoreId: string;
    dataAccessRoleArn: string;
    endedAt?: Date;
    submittedAt?: Date;
    inputS3Uri: string;
    outputS3Uri: string;
    message?: string;
}
export declare const DICOMImportJobProperties: S.Schema<DICOMImportJobProperties>;
export interface GetDICOMImportJobResponse {
    jobProperties: DICOMImportJobProperties;
}
export declare const GetDICOMImportJobResponse: S.Schema<GetDICOMImportJobResponse>;
export interface ImageFrameInformation {
    imageFrameId: string;
}
export declare const ImageFrameInformation: S.Schema<ImageFrameInformation>;
export interface GetImageFrameRequest {
    datastoreId: string;
    imageSetId: string;
    imageFrameInformation: ImageFrameInformation;
}
export declare const GetImageFrameRequest: S.Schema<GetImageFrameRequest>;
export interface GetImageFrameResponse {
    imageFrameBlob: T.StreamingOutputBody;
    contentType?: string;
}
export declare const GetImageFrameResponse: S.Schema<GetImageFrameResponse>;
export interface GetImageSetRequest {
    datastoreId: string;
    imageSetId: string;
    versionId?: string;
}
export declare const GetImageSetRequest: S.Schema<GetImageSetRequest>;
export interface Overrides {
    forced?: boolean;
}
export declare const Overrides: S.Schema<Overrides>;
export type StorageTier = "FREQUENT_ACCESS" | "ARCHIVE_INSTANT_ACCESS" | (string & {});
export declare const StorageTier: S.String;
export interface GetImageSetResponse {
    datastoreId: string;
    imageSetId: string;
    versionId: string;
    imageSetState: ImageSetState;
    imageSetWorkflowStatus?: ImageSetWorkflowStatus;
    createdAt?: Date;
    updatedAt?: Date;
    deletedAt?: Date;
    message?: string;
    imageSetArn?: string;
    overrides?: Overrides;
    isPrimary?: boolean;
    lastAccessedAt?: Date;
    storageTier?: StorageTier;
}
export declare const GetImageSetResponse: S.Schema<GetImageSetResponse>;
export interface GetImageSetMetadataRequest {
    datastoreId: string;
    imageSetId: string;
    versionId?: string;
}
export declare const GetImageSetMetadataRequest: S.Schema<GetImageSetMetadataRequest>;
export interface GetImageSetMetadataResponse {
    imageSetMetadataBlob: T.StreamingOutputBody;
    contentType?: string;
    contentEncoding?: string;
}
export declare const GetImageSetMetadataResponse: S.Schema<GetImageSetMetadataResponse>;
export interface ListDICOMImportJobsRequest {
    datastoreId: string;
    jobStatus?: JobStatus;
    nextToken?: string;
    maxResults?: number;
}
export declare const ListDICOMImportJobsRequest: S.Schema<ListDICOMImportJobsRequest>;
export interface DICOMImportJobSummary {
    jobId: string;
    jobName: string;
    jobStatus: JobStatus;
    datastoreId: string;
    dataAccessRoleArn?: string;
    endedAt?: Date;
    submittedAt?: Date;
    message?: string;
}
export declare const DICOMImportJobSummary: S.Schema<DICOMImportJobSummary>;
export type DICOMImportJobSummaries = DICOMImportJobSummary[];
export declare const DICOMImportJobSummaries: S.$Array<S.Schema<DICOMImportJobSummary>>;
export interface ListDICOMImportJobsResponse {
    jobSummaries: DICOMImportJobSummary[];
    nextToken?: string;
}
export declare const ListDICOMImportJobsResponse: S.Schema<ListDICOMImportJobsResponse>;
export interface ListImageSetVersionsRequest {
    datastoreId: string;
    imageSetId: string;
    nextToken?: string;
    maxResults?: number;
}
export declare const ListImageSetVersionsRequest: S.Schema<ListImageSetVersionsRequest>;
export interface ImageSetProperties {
    imageSetId: string;
    versionId: string;
    imageSetState: ImageSetState;
    ImageSetWorkflowStatus?: ImageSetWorkflowStatus;
    createdAt?: Date;
    updatedAt?: Date;
    deletedAt?: Date;
    message?: string;
    overrides?: Overrides;
    isPrimary?: boolean;
}
export declare const ImageSetProperties: S.Schema<ImageSetProperties>;
export type ImageSetPropertiesList = ImageSetProperties[];
export declare const ImageSetPropertiesList: S.$Array<S.Schema<ImageSetProperties>>;
export interface ListImageSetVersionsResponse {
    imageSetPropertiesList: ImageSetProperties[];
    nextToken?: string;
}
export declare const ListImageSetVersionsResponse: S.Schema<ListImageSetVersionsResponse>;
export interface ListTagsForResourceRequest {
    resourceArn: string;
}
export declare const ListTagsForResourceRequest: S.Schema<ListTagsForResourceRequest>;
export type TagMap = {
    [key: string]: string | undefined;
};
export declare const TagMap: S.$Record<S.String, S.optional<S.String>>;
export interface ListTagsForResourceResponse {
    tags: {
        [key: string]: string | undefined;
    };
}
export declare const ListTagsForResourceResponse: S.Schema<ListTagsForResourceResponse>;
export interface DICOMStudyDateAndTime {
    DICOMStudyDate: string | redacted.Redacted<string>;
    DICOMStudyTime?: string | redacted.Redacted<string>;
}
export declare const DICOMStudyDateAndTime: S.Schema<DICOMStudyDateAndTime>;
export type SearchByAttributeValue = {
    DICOMPatientId: string | redacted.Redacted<string>;
    DICOMAccessionNumber?: never;
    DICOMStudyId?: never;
    DICOMStudyInstanceUID?: never;
    DICOMSeriesInstanceUID?: never;
    createdAt?: never;
    updatedAt?: never;
    DICOMStudyDateAndTime?: never;
    isPrimary?: never;
} | {
    DICOMPatientId?: never;
    DICOMAccessionNumber: string | redacted.Redacted<string>;
    DICOMStudyId?: never;
    DICOMStudyInstanceUID?: never;
    DICOMSeriesInstanceUID?: never;
    createdAt?: never;
    updatedAt?: never;
    DICOMStudyDateAndTime?: never;
    isPrimary?: never;
} | {
    DICOMPatientId?: never;
    DICOMAccessionNumber?: never;
    DICOMStudyId: string | redacted.Redacted<string>;
    DICOMStudyInstanceUID?: never;
    DICOMSeriesInstanceUID?: never;
    createdAt?: never;
    updatedAt?: never;
    DICOMStudyDateAndTime?: never;
    isPrimary?: never;
} | {
    DICOMPatientId?: never;
    DICOMAccessionNumber?: never;
    DICOMStudyId?: never;
    DICOMStudyInstanceUID: string | redacted.Redacted<string>;
    DICOMSeriesInstanceUID?: never;
    createdAt?: never;
    updatedAt?: never;
    DICOMStudyDateAndTime?: never;
    isPrimary?: never;
} | {
    DICOMPatientId?: never;
    DICOMAccessionNumber?: never;
    DICOMStudyId?: never;
    DICOMStudyInstanceUID?: never;
    DICOMSeriesInstanceUID: string | redacted.Redacted<string>;
    createdAt?: never;
    updatedAt?: never;
    DICOMStudyDateAndTime?: never;
    isPrimary?: never;
} | {
    DICOMPatientId?: never;
    DICOMAccessionNumber?: never;
    DICOMStudyId?: never;
    DICOMStudyInstanceUID?: never;
    DICOMSeriesInstanceUID?: never;
    createdAt: Date;
    updatedAt?: never;
    DICOMStudyDateAndTime?: never;
    isPrimary?: never;
} | {
    DICOMPatientId?: never;
    DICOMAccessionNumber?: never;
    DICOMStudyId?: never;
    DICOMStudyInstanceUID?: never;
    DICOMSeriesInstanceUID?: never;
    createdAt?: never;
    updatedAt: Date;
    DICOMStudyDateAndTime?: never;
    isPrimary?: never;
} | {
    DICOMPatientId?: never;
    DICOMAccessionNumber?: never;
    DICOMStudyId?: never;
    DICOMStudyInstanceUID?: never;
    DICOMSeriesInstanceUID?: never;
    createdAt?: never;
    updatedAt?: never;
    DICOMStudyDateAndTime: DICOMStudyDateAndTime;
    isPrimary?: never;
} | {
    DICOMPatientId?: never;
    DICOMAccessionNumber?: never;
    DICOMStudyId?: never;
    DICOMStudyInstanceUID?: never;
    DICOMSeriesInstanceUID?: never;
    createdAt?: never;
    updatedAt?: never;
    DICOMStudyDateAndTime?: never;
    isPrimary: boolean;
};
export declare const SearchByAttributeValue: S.Union<readonly [S.Struct<{
    readonly DICOMPatientId: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly DICOMAccessionNumber: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly DICOMStudyId: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly DICOMStudyInstanceUID: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly DICOMSeriesInstanceUID: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly createdAt: S.Date;
}>, S.Struct<{
    readonly updatedAt: S.Date;
}>, S.Struct<{
    readonly DICOMStudyDateAndTime: S.Schema<DICOMStudyDateAndTime>;
}>, S.Struct<{
    readonly isPrimary: S.Boolean;
}>]>;
export type SearchByAttributeValues = SearchByAttributeValue[];
export declare const SearchByAttributeValues: S.$Array<S.Union<readonly [S.Struct<{
    readonly DICOMPatientId: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly DICOMAccessionNumber: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly DICOMStudyId: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly DICOMStudyInstanceUID: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly DICOMSeriesInstanceUID: S.Schema<string | redacted.Redacted<string>>;
}>, S.Struct<{
    readonly createdAt: S.Date;
}>, S.Struct<{
    readonly updatedAt: S.Date;
}>, S.Struct<{
    readonly DICOMStudyDateAndTime: S.Schema<DICOMStudyDateAndTime>;
}>, S.Struct<{
    readonly isPrimary: S.Boolean;
}>]>>;
export type Operator = "EQUAL" | "BETWEEN" | (string & {});
export declare const Operator: S.String;
export interface SearchFilter {
    values: SearchByAttributeValue[];
    operator: Operator;
}
export declare const SearchFilter: S.Schema<SearchFilter>;
export type SearchFilters = SearchFilter[];
export declare const SearchFilters: S.$Array<S.Schema<SearchFilter>>;
export type SortOrder = "ASC" | "DESC" | (string & {});
export declare const SortOrder: S.String;
export type SortField = "updatedAt" | "createdAt" | "DICOMStudyDateAndTime" | (string & {});
export declare const SortField: S.String;
export interface Sort {
    sortOrder: SortOrder;
    sortField: SortField;
}
export declare const Sort: S.Schema<Sort>;
export interface SearchCriteria {
    filters?: SearchFilter[];
    sort?: Sort;
}
export declare const SearchCriteria: S.Schema<SearchCriteria>;
export interface SearchImageSetsRequest {
    datastoreId: string;
    searchCriteria?: SearchCriteria;
    maxResults?: number;
    nextToken?: string;
}
export declare const SearchImageSetsRequest: S.Schema<SearchImageSetsRequest>;
export interface DICOMTags {
    DICOMPatientId?: string | redacted.Redacted<string>;
    DICOMPatientName?: string | redacted.Redacted<string>;
    DICOMPatientBirthDate?: string | redacted.Redacted<string>;
    DICOMPatientSex?: string | redacted.Redacted<string>;
    DICOMStudyInstanceUID?: string | redacted.Redacted<string>;
    DICOMStudyId?: string | redacted.Redacted<string>;
    DICOMStudyDescription?: string | redacted.Redacted<string>;
    DICOMNumberOfStudyRelatedSeries?: number;
    DICOMNumberOfStudyRelatedInstances?: number;
    DICOMAccessionNumber?: string | redacted.Redacted<string>;
    DICOMSeriesInstanceUID?: string | redacted.Redacted<string>;
    DICOMSeriesModality?: string | redacted.Redacted<string>;
    DICOMSeriesBodyPart?: string | redacted.Redacted<string>;
    DICOMSeriesNumber?: number;
    DICOMStudyDate?: string | redacted.Redacted<string>;
    DICOMStudyTime?: string | redacted.Redacted<string>;
}
export declare const DICOMTags: S.Schema<DICOMTags>;
export interface ImageSetsMetadataSummary {
    imageSetId: string;
    version?: number;
    createdAt?: Date;
    updatedAt?: Date;
    lastAccessedAt?: Date;
    storageTier?: StorageTier;
    DICOMTags?: DICOMTags;
    isPrimary?: boolean;
}
export declare const ImageSetsMetadataSummary: S.Schema<ImageSetsMetadataSummary>;
export type ImageSetsMetadataSummaries = ImageSetsMetadataSummary[];
export declare const ImageSetsMetadataSummaries: S.$Array<S.Schema<ImageSetsMetadataSummary>>;
export interface SearchImageSetsResponse {
    imageSetsMetadataSummaries: ImageSetsMetadataSummary[];
    sort?: Sort;
    nextToken?: string;
}
export declare const SearchImageSetsResponse: S.Schema<SearchImageSetsResponse>;
export interface StartDICOMImportJobRequest {
    jobName?: string;
    dataAccessRoleArn: string;
    clientToken: string;
    datastoreId: string;
    inputS3Uri: string;
    outputS3Uri: string;
    inputOwnerAccountId?: string;
}
export declare const StartDICOMImportJobRequest: S.Schema<StartDICOMImportJobRequest>;
export interface StartDICOMImportJobResponse {
    datastoreId: string;
    jobId: string;
    jobStatus: JobStatus;
    submittedAt: Date;
}
export declare const StartDICOMImportJobResponse: S.Schema<StartDICOMImportJobResponse>;
export interface TagResourceRequest {
    resourceArn: string;
    tags: {
        [key: string]: string | undefined;
    };
}
export declare const TagResourceRequest: S.Schema<TagResourceRequest>;
export interface TagResourceResponse {
}
export declare const TagResourceResponse: S.Schema<TagResourceResponse>;
export type TagKeyList = string[];
export declare const TagKeyList: S.$Array<S.String>;
export interface UntagResourceRequest {
    resourceArn: string;
    tagKeys: string[];
}
export declare const UntagResourceRequest: S.Schema<UntagResourceRequest>;
export interface UntagResourceResponse {
}
export declare const UntagResourceResponse: S.Schema<UntagResourceResponse>;
export interface DICOMUpdates {
    removableAttributes?: Uint8Array | redacted.Redacted<Uint8Array>;
    updatableAttributes?: Uint8Array | redacted.Redacted<Uint8Array>;
}
export declare const DICOMUpdates: S.Schema<DICOMUpdates>;
export type MetadataUpdates = {
    DICOMUpdates: DICOMUpdates;
    revertToVersionId?: never;
} | {
    DICOMUpdates?: never;
    revertToVersionId: string;
};
export declare const MetadataUpdates: S.Union<readonly [S.Struct<{
    readonly DICOMUpdates: S.Schema<DICOMUpdates>;
}>, S.Struct<{
    readonly revertToVersionId: S.String;
}>]>;
export interface UpdateImageSetMetadataRequest {
    datastoreId: string;
    imageSetId: string;
    latestVersionId: string;
    force?: boolean;
    includeStudyImageSets?: boolean;
    updateImageSetMetadataUpdates: MetadataUpdates;
}
export declare const UpdateImageSetMetadataRequest: S.Schema<UpdateImageSetMetadataRequest>;
export interface UpdateImageSetMetadataResponse {
    datastoreId: string;
    imageSetId: string;
    latestVersionId: string;
    imageSetState: ImageSetState;
    imageSetWorkflowStatus?: ImageSetWorkflowStatus;
    createdAt?: Date;
    updatedAt?: Date;
    message?: string;
}
export declare const UpdateImageSetMetadataResponse: S.Schema<UpdateImageSetMetadataResponse>;
export type LosslessStorageFormat = "HTJ2K" | "JPEG_2000_LOSSLESS" | (string & {});
export declare const LosslessStorageFormat: S.String;
export interface CreateDatastoreRequest {
    datastoreName?: string;
    clientToken: string;
    tags?: {
        [key: string]: string | undefined;
    };
    kmsKeyArn?: string;
    lambdaAuthorizerArn?: string;
    losslessStorageFormat?: LosslessStorageFormat;
}
export declare const CreateDatastoreRequest: S.Schema<CreateDatastoreRequest>;
export type DatastoreStatus = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETED" | (string & {});
export declare const DatastoreStatus: S.String;
export interface CreateDatastoreResponse {
    datastoreId: string;
    datastoreStatus: DatastoreStatus;
}
export declare const CreateDatastoreResponse: S.Schema<CreateDatastoreResponse>;
export interface GetDatastoreRequest {
    datastoreId: string;
}
export declare const GetDatastoreRequest: S.Schema<GetDatastoreRequest>;
export interface DatastoreProperties {
    datastoreId: string;
    datastoreName: string;
    datastoreStatus: DatastoreStatus;
    kmsKeyArn?: string;
    lambdaAuthorizerArn?: string;
    losslessStorageFormat?: LosslessStorageFormat;
    datastoreArn?: string;
    createdAt?: Date;
    updatedAt?: Date;
}
export declare const DatastoreProperties: S.Schema<DatastoreProperties>;
export interface GetDatastoreResponse {
    datastoreProperties: DatastoreProperties;
}
export declare const GetDatastoreResponse: S.Schema<GetDatastoreResponse>;
export interface DeleteDatastoreRequest {
    datastoreId: string;
}
export declare const DeleteDatastoreRequest: S.Schema<DeleteDatastoreRequest>;
export interface DeleteDatastoreResponse {
    datastoreId: string;
    datastoreStatus: DatastoreStatus;
}
export declare const DeleteDatastoreResponse: S.Schema<DeleteDatastoreResponse>;
export interface ListDatastoresRequest {
    datastoreStatus?: DatastoreStatus;
    nextToken?: string;
    maxResults?: number;
}
export declare const ListDatastoresRequest: S.Schema<ListDatastoresRequest>;
export interface DatastoreSummary {
    datastoreId: string;
    datastoreName: string;
    datastoreStatus: DatastoreStatus;
    datastoreArn?: string;
    createdAt?: Date;
    updatedAt?: Date;
}
export declare const DatastoreSummary: S.Schema<DatastoreSummary>;
export type DatastoreSummaries = DatastoreSummary[];
export declare const DatastoreSummaries: S.$Array<S.Schema<DatastoreSummary>>;
export interface ListDatastoresResponse {
    datastoreSummaries?: DatastoreSummary[];
    nextToken?: string;
}
export declare const ListDatastoresResponse: S.Schema<ListDatastoresResponse>;
declare const AccessDeniedException_base: S.Class<AccessDeniedException, S.TaggedStruct<"AccessDeniedException", {
    readonly message: S.String;
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
    "@distilled.cloud/error/categories": {
        AuthError: true;
    };
});
export declare class AccessDeniedException extends AccessDeniedException_base {
}
declare const ConflictException_base: S.Class<ConflictException, S.TaggedStruct<"ConflictException", {
    readonly message: S.String;
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
    "@distilled.cloud/error/categories": {
        ConflictError: true;
    };
});
export declare class ConflictException extends ConflictException_base {
}
declare const InternalServerException_base: S.Class<InternalServerException, S.TaggedStruct<"InternalServerException", {
    readonly message: S.String;
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
    "@distilled.cloud/error/categories": {
        ServerError: true;
    };
});
export declare class InternalServerException extends InternalServerException_base {
}
declare const ResourceNotFoundException_base: S.Class<ResourceNotFoundException, S.TaggedStruct<"ResourceNotFoundException", {
    readonly message: S.String;
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
    "@distilled.cloud/error/categories": {
        BadRequestError: true;
    };
});
export declare class ResourceNotFoundException extends ResourceNotFoundException_base {
}
declare const ServiceQuotaExceededException_base: S.Class<ServiceQuotaExceededException, S.TaggedStruct<"ServiceQuotaExceededException", {
    readonly message: S.String;
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
    "@distilled.cloud/error/categories": {
        QuotaError: true;
    };
});
export declare class ServiceQuotaExceededException extends ServiceQuotaExceededException_base {
}
declare const ThrottlingException_base: S.Class<ThrottlingException, S.TaggedStruct<"ThrottlingException", {
    readonly message: S.String;
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
    "@distilled.cloud/error/categories": {
        ThrottlingError: true;
    };
});
export declare class ThrottlingException extends ThrottlingException_base {
}
declare const ValidationException_base: S.Class<ValidationException, S.TaggedStruct<"ValidationException", {
    readonly message: S.String;
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
    "@distilled.cloud/error/categories": {
        BadRequestError: true;
    };
});
export declare class ValidationException extends ValidationException_base {
}
declare const BadRequestException_base: S.Class<BadRequestException, S.TaggedStruct<"BadRequestException", {
    readonly message: S.String;
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
    "@distilled.cloud/error/categories": {
        BadRequestError: true;
    };
});
export declare class BadRequestException extends BadRequestException_base {
}
declare const NotAcceptableException_base: S.Class<NotAcceptableException, S.TaggedStruct<"NotAcceptableException", {
    readonly message: S.String;
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
    "@distilled.cloud/error/categories": {
        BadRequestError: true;
    };
});
export declare class NotAcceptableException extends NotAcceptableException_base {
}
export type CopyImageSetError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Copy an image set.
 */
export declare const copyImageSet: API.OperationMethod<CopyImageSetRequest, CopyImageSetResponse, CopyImageSetError, Credentials | Region | HttpClient.HttpClient>;
export type DeleteImageSetError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Delete an image set.
 */
export declare const deleteImageSet: API.OperationMethod<DeleteImageSetRequest, DeleteImageSetResponse, DeleteImageSetError, Credentials | Region | HttpClient.HttpClient>;
export type GetDICOMImportJobError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Get the import job properties to learn more about the job or job progress.
 *
 * The `jobStatus` refers to the execution of the import job. Therefore, an import job can return a `jobStatus` as `COMPLETED` even if validation issues are discovered during the import process. If a `jobStatus` returns as `COMPLETED`, we still recommend you review the output manifests written to S3, as they provide details on the success or failure of individual P10 object imports.
 */
export declare const getDICOMImportJob: API.OperationMethod<GetDICOMImportJobRequest, GetDICOMImportJobResponse, GetDICOMImportJobError, Credentials | Region | HttpClient.HttpClient>;
export type GetImageFrameError = AccessDeniedException | BadRequestException | ConflictException | InternalServerException | NotAcceptableException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Get an image frame (pixel data) for an image set.
 */
export declare const getImageFrame: API.OperationMethod<GetImageFrameRequest, GetImageFrameResponse, GetImageFrameError, Credentials | Region | HttpClient.HttpClient>;
export type GetImageSetError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Get image set properties.
 */
export declare const getImageSet: API.OperationMethod<GetImageSetRequest, GetImageSetResponse, GetImageSetError, Credentials | Region | HttpClient.HttpClient>;
export type GetImageSetMetadataError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Get metadata attributes for an image set.
 */
export declare const getImageSetMetadata: API.OperationMethod<GetImageSetMetadataRequest, GetImageSetMetadataResponse, GetImageSetMetadataError, Credentials | Region | HttpClient.HttpClient>;
export type ListDICOMImportJobsError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * List import jobs created for a specific data store.
 */
export declare const listDICOMImportJobs: API.OperationMethod<ListDICOMImportJobsRequest, ListDICOMImportJobsResponse, ListDICOMImportJobsError, Credentials | Region | HttpClient.HttpClient> & {
    pages: (input: ListDICOMImportJobsRequest) => stream.Stream<ListDICOMImportJobsResponse, ListDICOMImportJobsError, Credentials | Region | HttpClient.HttpClient>;
    items: (input: ListDICOMImportJobsRequest) => stream.Stream<DICOMImportJobSummary, ListDICOMImportJobsError, Credentials | Region | HttpClient.HttpClient>;
};
export type ListImageSetVersionsError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * List image set versions.
 */
export declare const listImageSetVersions: API.OperationMethod<ListImageSetVersionsRequest, ListImageSetVersionsResponse, ListImageSetVersionsError, Credentials | Region | HttpClient.HttpClient> & {
    pages: (input: ListImageSetVersionsRequest) => stream.Stream<ListImageSetVersionsResponse, ListImageSetVersionsError, Credentials | Region | HttpClient.HttpClient>;
    items: (input: ListImageSetVersionsRequest) => stream.Stream<ImageSetProperties, ListImageSetVersionsError, Credentials | Region | HttpClient.HttpClient>;
};
export type ListTagsForResourceError = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Lists all tags associated with a medical imaging resource.
 */
export declare const listTagsForResource: API.OperationMethod<ListTagsForResourceRequest, ListTagsForResourceResponse, ListTagsForResourceError, Credentials | Region | HttpClient.HttpClient>;
export type SearchImageSetsError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Search image sets based on defined input attributes.
 *
 * `SearchImageSets` accepts a single search query parameter and returns a paginated response of all image sets that have the matching criteria. All date range queries must be input as `(lowerBound, upperBound)`.
 *
 * By default, `SearchImageSets` uses the `updatedAt` field for sorting in descending order from newest to oldest.
 */
export declare const searchImageSets: API.OperationMethod<SearchImageSetsRequest, SearchImageSetsResponse, SearchImageSetsError, Credentials | Region | HttpClient.HttpClient> & {
    pages: (input: SearchImageSetsRequest) => stream.Stream<SearchImageSetsResponse, SearchImageSetsError, Credentials | Region | HttpClient.HttpClient>;
    items: (input: SearchImageSetsRequest) => stream.Stream<ImageSetsMetadataSummary, SearchImageSetsError, Credentials | Region | HttpClient.HttpClient>;
};
export type StartDICOMImportJobError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Start importing bulk data into an `ACTIVE` data store. The import job imports DICOM P10 files found in the S3 prefix specified by the `inputS3Uri` parameter. The import job stores processing results in the file specified by the `outputS3Uri` parameter.
 */
export declare const startDICOMImportJob: API.OperationMethod<StartDICOMImportJobRequest, StartDICOMImportJobResponse, StartDICOMImportJobError, Credentials | Region | HttpClient.HttpClient>;
export type TagResourceError = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Adds a user-specifed key and value tag to a medical imaging resource.
 */
export declare const tagResource: API.OperationMethod<TagResourceRequest, TagResourceResponse, TagResourceError, Credentials | Region | HttpClient.HttpClient>;
export type UntagResourceError = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Removes tags from a medical imaging resource.
 */
export declare const untagResource: API.OperationMethod<UntagResourceRequest, UntagResourceResponse, UntagResourceError, Credentials | Region | HttpClient.HttpClient>;
export type UpdateImageSetMetadataError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Update image set metadata attributes.
 */
export declare const updateImageSetMetadata: API.OperationMethod<UpdateImageSetMetadataRequest, UpdateImageSetMetadataResponse, UpdateImageSetMetadataError, Credentials | Region | HttpClient.HttpClient>;
export type CreateDatastoreError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Create a data store.
 */
export declare const createDatastore: API.OperationMethod<CreateDatastoreRequest, CreateDatastoreResponse, CreateDatastoreError, Credentials | Region | HttpClient.HttpClient>;
export type GetDatastoreError = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Get data store properties.
 */
export declare const getDatastore: API.OperationMethod<GetDatastoreRequest, GetDatastoreResponse, GetDatastoreError, Credentials | Region | HttpClient.HttpClient>;
export type DeleteDatastoreError = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonErrors;
/**
 * Delete a data store.
 *
 * Before a data store can be deleted, you must first delete all image sets within it.
 */
export declare const deleteDatastore: API.OperationMethod<DeleteDatastoreRequest, DeleteDatastoreResponse, DeleteDatastoreError, Credentials | Region | HttpClient.HttpClient>;
export type ListDatastoresError = AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonErrors;
/**
 * List data stores.
 */
export declare const listDatastores: API.OperationMethod<ListDatastoresRequest, ListDatastoresResponse, ListDatastoresError, Credentials | Region | HttpClient.HttpClient> & {
    pages: (input: ListDatastoresRequest) => stream.Stream<ListDatastoresResponse, ListDatastoresError, Credentials | Region | HttpClient.HttpClient>;
    items: (input: ListDatastoresRequest) => stream.Stream<DatastoreSummary, ListDatastoresError, Credentials | Region | HttpClient.HttpClient>;
};
export {};
//# sourceMappingURL=medical-imaging.d.ts.map