export interface OpenClawConfig { enabled: boolean; endpoint: string; webhookPath: string; token: string; channel: string; deliverTo: string; configuredAt: string; events: { notifications: boolean; sms: boolean; deviceConnected: boolean; deviceDisconnected: boolean; pairingRequired: boolean; }; } export declare function loadOpenClawConfig(): void; export declare function isOpenClawEnabled(): boolean; /** * Device info passed alongside every event for context. */ export interface DeviceContext { deviceId: string; manufacturer: string; model: string; osVersion: string; } export declare function forwardEventToOpenClaw(device: DeviceContext, eventType: string, eventData: Record, timestamp: number): Promise; /** * Get the current OpenClaw config (for API). * Returns the config with the token masked. */ export declare function getOpenClawConfig(): (Omit & { token: string; hasToken: boolean; }) | null; /** * Get the raw saved token from ~/.aster/openclaw.json (for re-saving / testing fallback). */ export declare function getOpenClawSavedToken(): string | null; /** * Try to read the OpenClaw token from ~/.openclaw/openclaw.json */ export declare function getOpenClawSourceToken(): string | null; /** * Save OpenClaw config and reload it into memory. */ export declare function saveOpenClawConfig(newConfig: OpenClawConfig): void; /** * Test connectivity to an OpenClaw endpoint. */ export declare function testOpenClawConnection(endpoint: string, webhookPath: string, token: string): Promise<{ success: boolean; status?: number; error?: string; }>; //# sourceMappingURL=index.d.ts.map