import { SavedRecord } from "@sankhyalabs/core";
import { ServiceBrokerPayload } from "../../../DataFetcher";
export type SavePayload = ServiceBrokerPayload<{
  resourceID: string;
  nuAttach?: string;
  description: string;
  fileSelect: number;
  keySession?: string;
  keyAttach?: string;
  nameAttach?: string;
  link?: string;
  nameEntity: string;
  pkEntity: string;
  typeAcess: string;
  typeApres: string;
}>;
export type SaveResponse = {
  chave: {
    valor: string;
  };
} & SavedRecord;
export declare enum SaveErrorsEnum {
  LINK_AND_FILE_AT_THE_SAME_TIME = "LINK_AND_FILE_AT_THE_SAME_TIME",
  ANY_LINK_OR_FILE_FILLED = "ANY_LINK_OR_FILE_FILLED",
  UNKNOWN = "UNKNOWN",
  DESCRIPTION_CANNOT_BE_CHANGED = "DESCRIPTION_CANNOT_BE_CHANGED"
}
