/**
 * Type definitions for Any Browser MCP
 */
export * from './errors.js';
export interface PageInfo {
    id: string;
    title: string;
    url: string;
    description?: string;
    faviconUrl?: string;
    type: string;
    webSocketDebuggerUrl?: string;
}
export interface TabInfo extends PageInfo {
    active?: boolean;
    index?: number;
}
export interface BrowserActionResult {
    success: boolean;
    message?: string;
    error?: string;
    data?: any;
    timestamp: Date;
}
export interface ClickOptions {
    button?: 'left' | 'right' | 'middle';
    clickCount?: number;
    delay?: number;
    force?: boolean;
    timeout?: number;
}
export interface TypeOptions {
    delay?: number;
    timeout?: number;
    clear?: boolean;
}
export interface ScreenshotOptions {
    path?: string;
    fullPage?: boolean;
    clip?: {
        x: number;
        y: number;
        width: number;
        height: number;
    };
    type?: 'png' | 'jpeg';
    quality?: number;
}
export interface NavigationOptions {
    waitUntil?: 'load' | 'domcontentloaded' | 'networkidle';
    timeout?: number;
}
export type ElementSelector = string;
export declare class BrowserConnectionError extends Error {
    cause?: Error | undefined;
    constructor(message: string, cause?: Error | undefined);
}
export declare class BrowserNotFoundError extends Error {
    constructor(message: string);
}
export declare class LazyInitializationError extends Error {
    constructor(message: string);
}
export declare enum ConnectionStatus {
    DISCONNECTED = "disconnected",
    CONNECTING = "connecting",
    CONNECTED = "connected",
    FAILED = "failed"
}
export interface ConnectionState {
    status: ConnectionStatus;
    browserType?: string;
    endpoint?: string;
    pageCount?: number;
    activePageId?: string;
    lastConnected?: Date;
    lastError?: string;
}
export interface ServerOptions {
    verbose?: boolean;
    port?: number;
    endpoint?: string;
    browserType?: string;
    strategy?: string;
    allowLaunch?: boolean;
}
//# sourceMappingURL=index.d.ts.map