import { MonkApiConfig } from '@monkvision/network'; import { LoadingState } from '@monkvision/common'; import { ComplianceOptions } from '@monkvision/types'; import { DamageDisclosureState } from '../../types'; /** * Parameters of the useDamageDisclosureState hook. */ export interface DamageDisclosureParams { /** * The inspection ID. */ inspectionId: string; /** * The api config used to communicate with the API. */ apiConfig: MonkApiConfig; /** * Global loading state of the DamageDisclosure component. */ loading: LoadingState; /** * The options for the compliance conf */ complianceOptions: ComplianceOptions; } /** * Custom hook used to manage the state of the DamageDisclosure. This state is automatically fetched from the API at * the start of the DamageDisclosure process in order to allow users to start the inspection where they left it before. */ export declare function useDamageDisclosureState({ inspectionId, apiConfig, loading, complianceOptions, }: DamageDisclosureParams): DamageDisclosureState;