import { OaAccountService } from './oa-account.service';
import { CreateOaAccountDto } from './dto/create-oa-account.dto';
import { UpdateOaAccountDto } from './dto/update-oa-account.dto';
import { FacebookAuthService } from './facebook/facebook-auth.service';
export declare class OaAccountController {
    private readonly oaService;
    private readonly fbAuthService;
    constructor(oaService: OaAccountService, fbAuthService: FacebookAuthService);
    connect(tenant: any, oaId: string, type: 'zalo' | 'facebook'): Promise<{
        url: string;
    }>;
    callback(code: string, state: string): Promise<{
        success: boolean;
        data: any;
    }>;
    refresh(tenant: any, oaId: string, type: 'zalo' | 'facebook'): Promise<import("./entities/oa-account.entity").OaAccount>;
    create(tenant: any, dto: CreateOaAccountDto): Promise<import("./entities/oa-account.entity").OaAccount>;
    findAll(req: Request, tenant: any, keyword?: string): Promise<import("./entities/oa-account.entity").OaAccount[]>;
    findOne(tenant: any, id: string): Promise<import("./entities/oa-account.entity").OaAccount | null>;
    findByOaId(tenant: any, oaId: string): Promise<import("./entities/oa-account.entity").OaAccount | null>;
    update(tenant: any, id: string, dto: UpdateOaAccountDto): Promise<import("./entities/oa-account.entity").OaAccount | null>;
    bulkDelete(ids: (number | string)[], tenant: any): Promise<{
        success: boolean;
        deletedCount: number;
        ids: (string | number)[];
    }>;
    remove(tenant: any, id: string): Promise<import("typeorm").DeleteResult>;
}
