import type { Product } from "./types/product.types";
/**
 * 添加产品
 */
export declare function addProduct(titleOrProduct: string | Partial<Product>, desc?: string, img?: string, video?: string): Promise<Product | null>;
/**
 * 更新产品
 */
export declare function updateProduct(id: string, updatedFields: Partial<Product>): Promise<Product | null>;
/**
 * 创建 products 表结构
 */
export declare function createProductsCollection(): Promise<import("pocketbase").CollectionModel | null>;
/**
 * 删除产品
 */
export declare function deleteProduct(id: string): Promise<boolean | null>;
/**
 * 获取所有产品
 */
export declare function getAllProducts(options?: {
    filter?: string;
    sort?: string;
    expand?: string[];
}): Promise<Product[] | null>;
/**
 * 获取单个产品 by ID
 */
export declare function getProductById(id: string): Promise<Product | null>;
