import { OnModuleInit } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
export declare class TemporalService implements OnModuleInit {
    private readonly configService;
    private readonly logger;
    private client;
    private connection;
    constructor(configService: ConfigService);
    onModuleInit(): Promise<void>;
    startApprovalWorkflow(params: {
        instanceId: string;
        workflowId: string;
        processModel: any;
        settings: any;
        variables: Record<string, any>;
        initiatorId: string;
        businessType: string;
        businessId: string;
        callbackUrl?: string;
    }): Promise<{
        runId: string;
    }>;
    sendSignal(workflowId: string, signalName: string, data: any): Promise<void>;
    queryWorkflow(workflowId: string, queryName: string): Promise<any>;
    terminateWorkflow(workflowId: string, reason: string): Promise<void>;
    cancelWorkflow(workflowId: string): Promise<void>;
    getWorkflowStatus(workflowId: string): Promise<string | null>;
}
