import { StartSandboxOpts } from "../types"; import { Client, Config } from "../api-clients/client/client"; export declare function createApiClient(apiKey: string, config?: Config, instrumentation?: (request: Request) => Promise): Client; export type HandledResponse = { data?: { data?: D; }; error?: E; response: Response; }; export declare function getStartOptions(opts: StartSandboxOpts | undefined): { ipcountry?: undefined; tier?: undefined; hibernation_timeout_seconds?: undefined; automatic_wakeup_config?: undefined; } | { ipcountry: string | undefined; tier: "Pico" | "Nano" | "Micro" | "Small" | "Medium" | "Large" | "XLarge" | undefined; hibernation_timeout_seconds: number | undefined; automatic_wakeup_config: { http: boolean; websocket: boolean; } | undefined; }; export declare function getDefaultTemplateTag(apiClient: Client): string; export declare function getDefaultTemplateId(apiClient: Client): string; export declare function retryWithDelay(callback: () => Promise, retries?: number, delay?: number): Promise; export declare function handleResponse(result: Awaited<{ data?: { data?: D; }; error?: E; response: Response; }>, errorPrefix: string): D; export declare function generateTraceParent(): string;