interface ChatOptions {
    agent?: string;
    gateway?: string;
    user?: string;
    thread?: string;
    dryRun?: boolean;
    new?: boolean;
    continue?: boolean;
    context?: string;
    org?: string;
    autoApprove?: boolean;
    json?: boolean;
}
/**
 * Resolve which org the chat invocation targets. Precedence mirrors the other
 * org-scoped commands (`lobu memory run`, `lobu call`): explicit `--org` >
 * `LOBU_ORG` env > the context's stored `activeOrg`. `getActiveOrg` already
 * folds in the env var and context lookup, so an explicit flag is the only
 * thing layered on top.
 *
 * Returns `undefined` when nothing is configured — the server then falls back
 * to the PAT-bound org / the user's default membership, preserving the
 * pre-flag behavior for callers that never pass `--org`.
 */
export declare function resolveChatOrg(options: Pick<ChatOptions, "org" | "context">): Promise<string | undefined>;
/**
 * `lobu chat <prompt>` — send a prompt to an agent and stream the response.
 *
 * With --user platform:id, routes through Telegram/Slack.
 * With --continue, resumes the last thread for (context, agent).
 */
export declare function chatCommand(cwd: string, prompt: string, options: ChatOptions): Promise<void>;
export {};
//# sourceMappingURL=chat.d.ts.map