import type { OntologyConfig } from "../config/types.js"; /** * Result of cloud registration */ export interface RegistrationResult { success: boolean; hash: string; versionId?: string; limitReached?: boolean; verified: boolean; message?: string; } /** * Register the ontology with the ont-run.com cloud service. * * This function: * 1. Extracts the ontology definition from config * 2. Computes a hash of the ontology * 3. Sends it to the cloud for registration * 4. Returns the registration result * * @param config - The ontology configuration * @returns Registration result with success status and hash * * @example * ```ts * const result = await registerWithCloud(config); * if (result.success) { * console.log(`Registered with hash: ${result.hash}`); * if (result.verified) { * console.log('Running in verified mode'); * } * } * ``` */ export declare function registerWithCloud(config: OntologyConfig): Promise; /** * Attempt cloud registration and log the result. * This is a fire-and-forget helper for use in server startup. * * @param config - The ontology configuration * @returns Promise that resolves when registration completes */ export declare function tryRegisterWithCloud(config: OntologyConfig): Promise;