import { PlansService } from "./plans.service";
import { CreatePlanDto } from "../dto/create-plan.dto";
import { UpdatePlanDto } from "../dto/update-plan.dto";
export declare class PlansController {
    private readonly plansService;
    constructor(plansService: PlansService);
    create(createPlanDto: CreatePlanDto): Promise<{
        success: boolean;
        code: number;
        message: string;
    }>;
    findAll(search?: string): Promise<{
        success: boolean;
        code: number;
        message: string;
        data: any;
    }>;
    findOne(id: string): Promise<{
        success: boolean;
        code: number;
        message: string;
    }>;
    update(id: string, updatePlanDto: UpdatePlanDto): Promise<{
        success: boolean;
        code: number;
        message: string;
    }>;
    remove(id: string): Promise<{
        success: boolean;
        code: number;
        message: string;
    }>;
}
