import { ErrorApi } from './types'; import { ObjectAny } from '../types.contractResponse'; import { FetcherFunc } from '../types'; export type ContractCreateOneBody = ObjectAny; export type ContractCreateOneResponse = ContractCreateOneBody; export type ContractDeleteOneBody = ObjectAny; export type ContractDeleteOneResponse = ContractDeleteOneBody; export type ContractUpdateOneBody = { before: ObjectAny; after: ObjectAny; }; export type ContractUpdateOneResponse = ContractUpdateOneBody; export type ErrorApiUpdateOne = ErrorApi & { before: ObjectAny; }; export declare class EditingApi { static createOne: (rowForUpdate: ContractCreateOneBody, fetcher: FetcherFunc) => Promise; static deleteOne: (rowForDelete: ContractDeleteOneBody, fetcher: FetcherFunc) => Promise; static updateOne: (payload: ContractUpdateOneBody, fetcher: FetcherFunc) => Promise; }