import type { RegistrationInput, RegistrationResult, RegistrationStatus } from './types.js'; /** * Registers a new Canon agent and polls for owner approval. * * Flow: * 1. POST /agents/register -> returns requestId * 2. Poll GET /agents/status/:requestId until approved/rejected/timeout * 3. On approval, returns the API key */ export declare function registerAndWaitForApproval(input: RegistrationInput, callbacks?: { onSubmitted?: (requestId: string, pollToken?: string) => void; onPollUpdate?: (status: RegistrationStatus) => void; }): Promise; export declare function submitRegistrationRequest(input: RegistrationInput): Promise<{ requestId: string; pollToken?: string; }>; export declare function waitForRegistrationApproval(baseUrl: string | undefined, requestId: string, pollToken?: string, callbacks?: { onPollUpdate?: (status: RegistrationStatus) => void; }): Promise; export declare function ackRegistrationApproval(baseUrl: string | undefined, requestId: string, pollToken?: string): Promise;