import { ExecutionResult } from "./serviceHelper";
export interface SaveFavoriteRequest {
    itemId: string;
    language: string;
    priority: number;
    name?: string;
}
export interface FavoriteItem {
    itemId: string;
    language: string;
    priority: number;
    name?: string;
    createdAt: string;
    updatedAt: string;
}
export interface UpdateFavoriteNameRequest {
    itemId: string;
    language: string;
    name: string;
}
export interface ToggleFavoriteResponse {
    success: boolean;
    isFavorite: boolean;
    message: string;
}
export interface IsFavoriteResponse {
    isFavorite: boolean;
}
/**
 * Gets all favorites for the current user
 */
export declare function getAllFavorites(): Promise<ExecutionResult<FavoriteItem[]>>;
/**
 * Toggles a favorite item (adds if not exists, removes if exists)
 */
export declare function toggleFavorite(request: SaveFavoriteRequest): Promise<ExecutionResult<ToggleFavoriteResponse>>;
/**
 * Checks if an item is favorited by the current user
 */
export declare function isFavorite(itemId: string, language: string): Promise<ExecutionResult<IsFavoriteResponse>>;
/**
 * Updates the name of a favorite item
 */
export declare function updateFavoriteName(request: UpdateFavoriteNameRequest): Promise<ExecutionResult<{
    success: boolean;
    message: string;
}>>;
