import React from 'react';
export interface ApiEndpoint {
    id: string;
    name: string;
    method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
    url: string;
    headers?: Record<string, string>;
    bodyTemplate?: string;
}
export interface ApiTestResult {
    status: number;
    statusText: string;
    headers: Record<string, string>;
    body: any;
    duration: number;
    timestamp: Date;
}
export interface ApiTesterProps {
    endpoints?: ApiEndpoint[];
    baseUrl?: string;
    defaultHeaders?: Record<string, string>;
    onTest?: (endpoint: ApiEndpoint, body?: any) => Promise<ApiTestResult>;
    showHistory?: boolean;
    maxHistoryItems?: number;
}
export declare const ApiTester: React.FC<ApiTesterProps>;
export default ApiTester;
//# sourceMappingURL=ApiTester.d.ts.map