import type { ReportMatchCandidate } from "../types.js"; /** * Base error for all Power BI Bridge related errors. */ export declare class PowerBiError extends Error { constructor(message: string); } /** * Connection-level failure (pipe not found, pipe closed, broker crashed). */ export declare class ConnectionError extends PowerBiError { readonly pid?: number | undefined; constructor(message: string, pid?: number | undefined); } /** * A request exceeded its timeout. */ export declare class TimeoutError extends PowerBiError { constructor(message: string); } /** * A requested report or page was not found. */ export declare class NotFoundError extends PowerBiError { constructor(message: string); } /** * Multiple reports matched and none can be chosen automatically. */ export declare class AmbiguousMatchError extends PowerBiError { readonly candidates: ReportMatchCandidate[]; constructor(message: string, candidates: ReportMatchCandidate[]); } /** * JSON-RPC error response from the bridge. */ export declare class RpcError extends PowerBiError { readonly code: number; readonly data?: unknown | undefined; constructor(message: string, code: number, data?: unknown | undefined); } /** * Invalid input or configuration. */ export declare class ValidationError extends PowerBiError { constructor(message: string); } /** * ZIP parsing failure. */ export declare class ZipError extends PowerBiError { constructor(message: string); } //# sourceMappingURL=errors.d.ts.map