import { treasure_hunt } from 'src/typeorm/treasure_hunt';
import { UpdatTreasure_huntParams } from 'src/utils/types';
import { Repository } from 'typeorm';
export declare class TreasureHuntService {
    private treasure_huntRepository;
    constructor(treasure_huntRepository: Repository<treasure_hunt>);
    fetchTreasure_hunts(): Promise<{
        level: {
            id: any;
            label: any;
            color: any;
        };
        id: number;
        label: any;
        description: any;
        reward: any;
        city: number;
        picture: string;
        isPublic: boolean;
        data_hist: any;
    }[]>;
    fetchPublicTreasure_hunts(cityId?: number): Promise<{
        level: {
            label: any;
            color: any;
        };
        id: number;
        label: any;
        description: any;
        reward: any;
        city: number;
        picture: string;
        isPublic: boolean;
        data_hist: any;
    }[]>;
    createTreasure_hunt(treasure_huntDetails: any): Promise<treasure_hunt[]>;
    updateTreasure_hunt(id: number, updatetreasure_huntDetails: UpdatTreasure_huntParams): Promise<import("typeorm").UpdateResult>;
    deleteTreasure_hunt(id: number): Promise<import("typeorm").DeleteResult>;
}
