import type { components } from '#api/documents/documents.contract';
import type { Attachment } from './attachment';
export type DocumentEntityType = 'legalEntity' | 'bankAccount' | 'businessLine';
type DocumentDto = components['schemas']['DocumentDto'];
export type DocumentType = components['schemas']['DocumentDto']['type'];
export interface Document extends Omit<DocumentDto, 'attachments'> {
    attachments?: Attachment[];
    number?: string;
}
export interface ExistingDocument extends Document {
    attachments: Attachment[];
    id: string;
}
export interface ExistingDocumentWithModificationDate extends ExistingDocument {
    modificationDate: string;
}
export interface DocumentDetail {
    active: boolean;
    description: string;
    fileName: string;
    id: string;
    modificationDate: string;
    type: DocumentType;
}
export {};
