import { Coding } from './Coding.js';
import { Device } from './Device.js';
import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
import { Organization } from './Organization.js';
import { Patient } from './Patient.js';
import { Practitioner } from './Practitioner.js';
import { PractitionerRole } from './PractitionerRole.js';
import { Reference } from './Reference.js';
import { RelatedPerson } from './RelatedPerson.js';
export interface Signature {
    /**
     * @description Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
     * @short Unique id for inter-element referencing
     */
    id?: string;
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Additional content defined by implementations
     */
    extension?: Extension[];
    /**
     * @description An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.
     * @comment Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a &quot;Commitment Type Indication&quot;.
     * @short Indication of the reason the entity signed the object(s)
     */
    type?: Coding[];
    /**
     * @description When the digital signature was signed.
     * @comment This should agree with the information in the signature.
     * @short When the signature was created
     */
    when?: FhirPrimitive<string>;
    /**
     * @description A reference to an application-usable description of the identity that signed  (e.g. the signature used their private key).
     * @comment This should agree with the information in the signature.
     * @short Who signed
     */
    who?: Reference<Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization>;
    /**
     * @description A reference to an application-usable description of the identity that is represented by the signature.
     * @comment The party that can't sign. For example a child.
     * @short The party represented
     */
    onBehalfOf?: Reference<Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization>;
    /**
     * @description A mime type that indicates the technical format of the target resources signed by the signature.
     * @comment "xml", "json" and "ttl" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here.
     * @short The technical format of the signed resources
     */
    targetFormat?: FhirPrimitive<string>;
    /**
     * @description A mime type that indicates the technical format of the signature. Important mime types are applicationsignature+xml for X ML DigSig, applicationjose for JWS, and image for a graphical image of a signature, etc.
     * @short The technical format of the signature
     */
    sigFormat?: FhirPrimitive<string>;
    /**
     * @description The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.
     * @comment Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using  XML-Signature (XMLDIG) "Detached Signature" form.
     * @short The actual signature content (XML DigSig. JWS, picture, etc.)
     */
    data?: FhirPrimitive<string>;
}
//# sourceMappingURL=Signature.d.ts.map