import debug from "debug"; import { createApiClient } from "./create-client"; import { ToolRegistrationInput } from "./types"; export declare const log: debug.Debugger; export declare class PollingAgent { clusterId: string; polling: boolean; private tools; private client; private retryAfter; constructor(options: { endpoint: string; machineId: string; apiSecret: string; clusterId: string; tools: ToolRegistrationInput[]; }); start(): Promise; stop(): Promise; private runLoop; private pollIteration; private processCall; } export declare const registerMachine: (client: ReturnType, tools?: ToolRegistrationInput[]) => Promise<{ clusterId: string; }>;