import { Ib } from '@ibgib/ts-gib/dist/types.mjs'; import { IbGib_V1 } from '@ibgib/ts-gib/dist/V1/index.mjs'; import { ErrorData_V1, ErrorIbGib_V1 } from './error-types.mjs'; /** * Generates an ib based on a raw error msg. * * ## future * * If this is changed in the future, then without versioning of some sort, this * will change the error constant ibgibs that rely on this functions * deterministic qualities. * * @returns the error's `ib` */ export declare function getErrorIb({ rawMsg, }: { rawMsg: string; }): Ib; /** * Parses a raw error/exception message. * * If it has sections that I personally use (usually), then it will break that * out. otherwise, it will just have the `rawMsg` as the msg body and raw msg. * * @see {@link ErrorData_V1} */ export declare function parseRawErrorMsg({ rawMsg, }: { rawMsg: string; }): ErrorData_V1; /** * Builds a "constant" error ibgib based on the given `rawMsg`. * * @returns constant error ibgib built from given `rawMsg` * * @see {@link ErrorData_V1} * @see {@link ErrorIbGib_V1} */ export declare function getErrorIbGib({ rawMsg }: { rawMsg: string; }): Promise; export declare function isError({ ibGib }: { ibGib: IbGib_V1; }): boolean; //# sourceMappingURL=error-helper.d.mts.map