import { connectToDaemon } from "../../utils/client.js"; import type { CommandError, CommandOptions } from "../../output/index.js"; import type { ChatMessageRow } from "./schema.js"; export interface ChatCommandOptions extends CommandOptions { host?: string; } export declare function connectChatClient(host?: string): Promise<{ client: import("@bytetrue/client/internal/daemon-client").DaemonClient; daemonHost: string; }>; export declare function attachAgentNamesToMessages(client: Awaited>, messages: ChatMessageRow[]): Promise; export declare function toChatCommandError(code: string, action: string, err: unknown): CommandError; export declare function parseSinceValue(input?: string): string | undefined; export declare function parseTimeoutMs(input?: string): number | undefined; export declare function resolveChatAuthorAgentId(): string; //# sourceMappingURL=shared.d.ts.map