/** Options for constructing an AgentSDKError */
interface AgentSDKErrorOptions extends ErrorOptions {
    /** Machine-readable error code */
    code?: string;
    /** Whether this error is retryable (default: false) */
    retryable?: boolean;
    /** HTTP status code hint (e.g. 401, 429, 500) */
    httpStatus?: number;
}
/** Base error class for agent-sdk.
 *
 * Use `AgentSDKError.is(err)` for reliable cross-module `instanceof` checks
 * (works across separately bundled entry points where `instanceof` may fail). */
declare class AgentSDKError extends Error {
    /** @internal Marker for cross-bundle identity checks */
    readonly _agentSDKError: true;
    /** Machine-readable error code. Prefer values from the ErrorCode enum. */
    readonly code?: string;
    /** Whether this error is safe to retry */
    readonly retryable: boolean;
    /** HTTP status code hint for error classification */
    readonly httpStatus?: number;
    constructor(message: string, options?: AgentSDKErrorOptions);
    /** Check if an error is an AgentSDKError (works across bundled copies) */
    static is(error: unknown): error is AgentSDKError;
}

export { AgentSDKError as A };
