import { ReportResult } from "./types";
/**
 * Core bug reporting functionality
 */
export declare class Critters {
    private static instance;
    private config;
    private constructor();
    /**
     * Get the reporter instance
     */
    static getInstance(): Critters;
    /**
     * Report a bug to the configured endpoint
     */
    catch(error: Error | unknown, metadata?: Record<string, any>): Promise<ReportResult>;
    /**
     * Report a bug to the configured endpoint
     * @deprecated Use catch() instead
     */
    reportBug(error: Error | unknown, metadata?: Record<string, any>): Promise<ReportResult>;
    /**
     * Create a bug report from an error
     */
    private createBugReport;
    /**
     * Send a bug report to the configured endpoint
     */
    private sendBugReport;
}
