import { Database } from '../storage/db.js';
import type { Resource } from '../types.js';
interface ImportResourceInput {
    topic_id: number;
    title: string;
    url: string;
}
export declare class ResourceService {
    private db;
    constructor(db: Database);
    addResource(topicId: number, title: string, url: string, source?: string): Resource;
    listForTopic(topicId: number): Resource[];
    importResources(resources: ImportResourceInput[]): number;
    deleteResource(id: number): void;
}
export {};
