/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
export interface FavoriteEntry {
    modelId: string;
    pinnedAt: string;
}
export interface UsageEntry {
    modelId: string;
    lastUsed: string;
    count: number;
}
export interface FavoritesData {
    pinned: FavoriteEntry[];
    history: UsageEntry[];
}
export interface FavoritesStoreOptions {
    readonly dir: string;
}
export declare class FavoritesStore {
    private readonly dir;
    private cache;
    constructor(options: FavoritesStoreOptions);
    getDirectory(): string;
    getPath(): string;
    load(): Promise<FavoritesData>;
    save(data: FavoritesData): Promise<void>;
    pinModel(id: string): Promise<void>;
    unpinModel(id: string): Promise<void>;
    getPinned(): Promise<string[]>;
    isModelPinned(id: string): Promise<boolean>;
    recordUsage(id: string): Promise<void>;
    getRecentModels(n: number): Promise<string[]>;
    private getData;
}
//# sourceMappingURL=favorites.d.ts.map