import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow';
import { AirCredentials } from '../../../../../credentials/AirApi.credentials';
export interface TaskAssignment {
    _id: string;
    taskId: string;
    name: string;
    type: string;
    endpointId: string;
    endpointName: string;
    organizationId: number;
    status: string;
    recurrence: null | any;
    progress: number;
    duration: null | number;
    caseIds: string[];
    createdAt: string;
    updatedAt: string;
    response: null | any;
}
export interface CaseOption {
    label: string;
    value: string;
}
export interface TaskAssignmentsResponse {
    success: boolean;
    result: {
        entities: TaskAssignment[];
        filters: Array<{
            name: string;
            type: string;
            options: string[] | CaseOption[];
            filterUrl: string | null;
        }>;
        sortables: string[];
        totalEntityCount: number;
        currentPage: number;
        pageSize: number;
        previousPage: number;
        totalPageCount: number;
        nextPage: number;
    };
    statusCode: number;
    errors: string[];
}
export declare const api: {
    getTaskAssignments(context: IExecuteFunctions | ILoadOptionsFunctions, credentials: AirCredentials, taskId: string): Promise<TaskAssignmentsResponse>;
};
