export interface Config {
    port: number;
    model: string;
    openrouter?: {
        apiKey: string;
    };
    jimeng?: {
        accessKey?: string;
        secretKey?: string;
    };
    research: {
        enabled: boolean;
        schedule: string;
        platforms: string[];
    };
    interests?: string[];
    memory?: {
        apiKey: string;
        userId: string;
        syncEnabled: boolean;
    };
    analytics?: {
        douyinUrl: string;
        collectInterval: number;
        enabled: boolean;
    };
}
/** Base data directory for works, trends, etc.
 *  Tests can override via AUTOVIRAL_DATA_DIR; resolved at module load. */
export declare const dataDir: string;
/** Repo root directory — used by the rubric reader and any code that needs
 *  to load files shipped with the package. Resolves to the parent of the
 *  directory containing this module (src/ in dev, dist/ in prod). */
export declare const repoRoot: string;
export declare function getDefaultConfig(): Config;
export declare function ensureDir(dirPath: string): Promise<void>;
export declare function loadConfig(): Promise<Config>;
export declare function saveConfig(config: Config): Promise<void>;
export declare function getConfigDir(): string;
//# sourceMappingURL=config.d.ts.map