type PlexusErrorOptions = { code: string; source: string; stack: string; type?: 'general' | 'api' | 'action'; } & Record<'type', string>; export declare class PlexusError extends Error { options?: Partial | undefined; name: string; error: boolean; type: string; constructor(message: string, options?: Partial | undefined); toString(): string; } export declare function handlePlexusError(e: unknown | Error | string, options?: Partial): PlexusError; export {}; //# sourceMappingURL=error.d.ts.map