/** * Common request options for API calls */ export interface RequestOptions { proxyUrl?: string; } /** * Base error class for AO3 API errors */ export declare class AO3Error extends Error { statusCode?: number | undefined; originalError?: Error | undefined; constructor(message: string, statusCode?: number | undefined, originalError?: Error | undefined); } /** * Error thrown when a work is not found */ export declare class WorkNotFoundError extends AO3Error { constructor(workId: string); } /** * Error thrown when a chapter is not found */ export declare class ChapterNotFoundError extends AO3Error { constructor(workId: string, chapterId: string); } /** * Error thrown when a user is not found */ export declare class UserNotFoundError extends AO3Error { constructor(username: string); } /** * Error thrown when a series is not found */ export declare class SeriesNotFoundError extends AO3Error { constructor(seriesId: string); }