import type { DocumentDetail } from '../legalEntity/legalEntity.types.d.ts'; import type { QueryOptions } from '../types.d.ts'; import type { DocumentDto } from './documents.types'; export type QueryKeyDocuments = ['documents', string, string]; export declare const useDocuments: (documentDetails: DocumentDetail[], entityId: string, options?: QueryOptions) => import("@tanstack/preact-query").UseQueryResult<{ attachments: import("./documents.contract").components["schemas"]["AttachmentDto"][]; description?: string; fileName?: string; readonly id?: string; owner: import("./documents.contract").components["schemas"]["OwnerEntityDto"]; type: "bankStatement" | "driversLicense" | "identityCard" | "nationalIdNumber" | "passport" | "proofOfAddress" | "proofOfNationalIdNumber" | "proofOfResidency" | "registrationDocument" | "vatDocument" | "proofOfOrganizationTaxInfo" | "proofOfIndustry" | "constitutionalDocument" | "proofOfFundingOrWealthSource" | "proofOfRelationship" | "proofOfDirector" | "proofOfSignatory" | "proofOfOwnership"; }[], Error>;