import type { NobjcObject } from "objc-js";
import type { _HKCDADocument } from "./HKCDADocument.js";
import type { _HKDocumentSample } from "./HKDocumentSample.js";
import type { _NSData } from "../Foundation/NSData.js";
import type { _NSDate } from "../Foundation/NSDate.js";
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
export declare class _HKCDADocumentSample extends _HKDocumentSample {
    static alloc(): _HKCDADocumentSample;
    static new(): _HKCDADocumentSample;
    init(): _HKCDADocumentSample;
    /**
     * @method CDADocumentSampleWithData:startDate:endDate:device:metadata:validationError: @abstract Creates a new document sample with the specified attributes. @param documentData Document contents in an XML format that meets the CDA standard. @param startDate The start date for the document. @param endDate The end date for the document. @param metadata Metadata for the document. @param validationError The XML content will be validated against the standard for CDA content. If that validation fails, then this parameter will be set with the relavant error. Detailed information about the failure may be obtained by examining the value for the HKDetailedCDAValidationErrorKey key of the NSError's userInfo dictionary. @return The new instance or nil if the documentData does not pass validation. @discussion Attributes of the document, such as title, patient name, etc. will be extracted automatically from the document content.
     */
    static CDADocumentSampleWithData$startDate$endDate$metadata$validationError$(documentData: _NSData, startDate: _NSDate, endDate: _NSDate, metadata: _NSDictionary | null, validationError: NobjcObject | null): _HKCDADocumentSample | null;
    /**
     * @property document @abstract The contents of the document. @discussion Access to each CDA instance must be authorized by the user in order for the document data to be accessible to an app. The authorization request occurs the first time a document matches the predicate of an executed HKDocumentQuery. This property will always be nil if the sample is returned by an HKSampleQuery or an HKAnchoredObjectQuery.
     */
    document(): _HKCDADocument | null;
}
