import React from "react"; import type { BaseRecord, HttpError } from "../../contexts/data/types"; import type { AutoSaveIndicatorElements } from "../../hooks/form/types"; import type { UseUpdateReturnType } from "../../hooks/data/useUpdate"; export type AutoSaveIndicatorProps = { /** * The data returned by the update request. */ data?: UseUpdateReturnType["mutation"]["data"]; /** * The error returned by the update request. */ error?: UseUpdateReturnType["mutation"]["error"]; /** * The status of the update request. */ status: UseUpdateReturnType["mutation"]["status"]; /** * The elements to display for each status. */ elements?: AutoSaveIndicatorElements; }; export declare const AutoSaveIndicator: React.FC; //# sourceMappingURL=index.d.ts.map