export interface RunResult { stdout: string; stderr: string; } export interface HookMapping { match: { path: string; }; messageTemplate: string; deliver: boolean; allowUnsafeExternalContent?: boolean; channel?: string; to?: string; model?: string; action?: string; wakeMode?: string; sessionKey?: string; } export interface OpenClawConfig { meta?: { lastTouchedAt?: string; lastTouchedVersion?: string; }; gateway?: { port?: number; }; hooks?: { token?: string; path?: string; mappings?: HookMapping[]; gmail?: { account?: string; }; }; auth?: { profiles?: Record; }; channels?: { telegram?: { enabled?: boolean; groups?: Record; }; }; agents?: { defaults?: { model?: { primary?: string; }; }; }; } export interface CloudflareConfig { apiToken?: string; accountId?: string | null; tunnelId?: string | null; } export interface CliConfig { hooksDomain?: string; gogKeyrringPassword?: string; cloudflare?: CloudflareConfig; proxyRoutes?: ProxyRoutes; [key: string]: unknown; } export interface ProxyRouteConfig { upstream?: string; secret?: string; secretField?: string | null; secretHeader?: string | null; } export type ProxyRoutes = Record; export type ServiceStatus = 'active' | 'inactive' | 'failed' | 'activating' | 'unknown' | (string & {}); export interface SystemdUnit { name: string; active: boolean; } export interface GmailServiceInfo { serviceName: string; account: string | null; port: number | null; hookName: string | null; topic: string | null; subscription: string | null; } export interface TunnelInfo { accountId: string; tunnelId: string; } export interface HooksProxyInfo { token: string | null; port: number; } export interface GCloudProject { id: string; name: string; } export interface IngressRule { hostname?: string; service: string; } export interface TunnelApiConfig { config?: { ingress?: IngressRule[]; }; } export interface SetupOptions { force?: boolean; skipInstall?: boolean; security?: boolean; } export interface AddGmailOptions { email?: string; project?: string; hookName?: string; port?: number; model?: string; channel?: string; target?: string; } export interface AddWebhookOptions { name?: string; secret?: string; secretField?: string; secretHeader?: string; model?: string; target?: string; } export interface GmailServiceOptions { email: string; port: number; topic: string; subscription: string; pushToken: string; hookUrl: string; hookToken: string; gogKeyrungPassword: string; } export interface WebhookTemplate { secretField?: string | null; secretHeader?: string | null; messageTemplate: string; action?: string; wakeMode?: string; sessionKey?: string; } //# sourceMappingURL=types.d.ts.map