import type { RuntimeEnv } from "../runtime.js";
export type SignalDaemonOpts = {
    cliPath: string;
    account?: string;
    httpHost: string;
    httpPort: number;
    receiveMode?: "on-start" | "manual";
    ignoreAttachments?: boolean;
    ignoreStories?: boolean;
    sendReadReceipts?: boolean;
    runtime?: RuntimeEnv;
};
export type SignalDaemonHandle = {
    pid?: number;
    stop: () => void;
};
export declare function classifySignalCliLogLine(line: string): "log" | "error" | null;
export declare function spawnSignalDaemon(opts: SignalDaemonOpts): SignalDaemonHandle;
