import type { OrgXClient } from "../../api.js"; import type { BillingStatus } from "../../types.js"; export type OpenClawProvider = "anthropic" | "openrouter" | "openai"; export declare function resolveByokEnvOverrides(): Record; export declare function modelImpliesByok(model: string | null): boolean; export declare function fetchBillingStatusSafe(client: OrgXClient): Promise; export declare function listOpenClawAgents(): Promise>>; export declare function spawnOpenClawAgentTurn(input: { agentId: string; sessionId: string; message: string; thinking?: string | null; }): { pid: number | null; }; export declare function normalizeOpenClawProvider(value: string | null): OpenClawProvider | null; export declare function listOpenClawProviderModels(input: { agentId: string; provider: OpenClawProvider; }): Promise>; export declare function configureOpenClawProviderRouting(input: { agentId: string; provider: OpenClawProvider; requestedModel?: string | null; }): Promise<{ provider: OpenClawProvider; model: string; }>; export declare function resolveAutoOpenClawProvider(): OpenClawProvider | null; export declare function isPidAlive(pid: number): boolean; export declare function stopDetachedProcess(pid: number): Promise<{ stopped: boolean; wasRunning: boolean; }>;