import { CommentValue, TicketData } from '../../interfaces'; import { Api } from '../api'; export declare const TICKET_API = "/service/elements/api"; export interface TicketShowParams { checklist?: string; element?: string; hasProperty?: string | Record; limit?: number; offset?: number; status?: string; page?: number; user?: string; withDescendants?: boolean; sort?: string; dateFrom?: string; dateTo?: string; } export interface TicketCreateBody { data: Record; organization: string; } export interface TicketShowResult { count: Record; data: TicketData[]; } export declare class Tickets { api: Api; constructor(api: Api); create(data: TicketCreateBody['data'], organization: string): Promise>; update(hash: string, data: TicketCreateBody['data']): Promise>; show(params: TicketShowParams): Promise>; get(hash: string): Promise>; patchTicket(hash: string, data: Record): Promise>; postComment(hash: string, organization: string, value: string): Promise>; }