import { TenantConnectionService } from '@/modules/tenant/tenant-connection.service';
import { BaseTenantService } from '@/common/base/service/base-crud.service';
import { PosPaymentAgent, PosCodCollection } from './entities/pos-payment-agent.entity';
export declare class PosCodService extends BaseTenantService<PosPaymentAgent> {
    protected readonly tenantConnectionService: TenantConnectionService;
    protected entity: typeof PosPaymentAgent;
    constructor(tenantConnectionService: TenantConnectionService);
    findAllAgents(query: {
        store_id?: number;
        agent_type?: string;
        is_active?: boolean;
        page?: number;
        limit?: number;
    }): Promise<{
        items: PosPaymentAgent[];
        total: number;
        page: number;
        limit: number;
    }>;
    findOneAgent(id: number): Promise<PosPaymentAgent>;
    createAgent(data: any): Promise<PosPaymentAgent[]>;
    updateAgent(id: number, data: any): Promise<PosPaymentAgent>;
    findAllCollections(query: {
        store_id?: number;
        agent_id?: number;
        status?: string;
        page?: number;
        limit?: number;
    }): Promise<{
        items: PosCodCollection[];
        total: number;
        page: number;
        limit: number;
    }>;
    findOneCollection(id: number): Promise<PosCodCollection>;
    createCollection(data: any): Promise<PosCodCollection>;
    collectPayment(id: number, data: {
        collected_amount: number;
        collected_by_user_id?: number;
        note?: string;
    }): Promise<PosCodCollection>;
    settleCollection(id: number): Promise<PosCodCollection>;
    cancelCollection(id: number): Promise<PosCodCollection>;
}
