//#region src/error.d.ts
declare class CustomError extends Error {
  code: string;
  props: {
    persist: boolean;
    [prop: string]: $TSFixMe;
  };
  constructor(code: string, message: string, props?: {});
}
declare class PersistError extends CustomError {
  constructor(code: string, message: string, props?: {});
}
//#endregion
export { CustomError, PersistError };