import type { LTApiResult, LTApiAuth } from '../../types/sdk'; /** * List escalations with optional filters. * * Results are scoped to the authenticated user's roles unless the user * is a superadmin (who sees all roles). * * @param input.status — filter by `pending`, `resolved`, or `cancelled` * @param input.role — filter by assigned role * @param input.type — filter by workflow type * @param input.subtype — filter by subtype * @param input.assigned_to — filter by assigned user ID * @param input.priority — filter by priority (1–4) * @param input.limit — max results (default: 50) * @param input.offset — pagination offset * @param input.sort_by — column to sort by (e.g. `created_at`, `priority`) * @param input.order — `asc` or `desc` * @param auth — authenticated user context (required for role scoping) * @returns `{ status: 200, data: { escalations, total } }` */ export declare function listEscalations(input: { status?: string; role?: string; type?: string; subtype?: string; assigned_to?: string; claimed?: boolean; priority?: number; limit?: number; offset?: number; sort_by?: string; order?: string; search?: string; }, auth: LTApiAuth): Promise; /** * List escalations available for claim (pending and not actively claimed). * * Similar to `listEscalations` but excludes escalations with active claims. * Scoped to the authenticated user's roles. * * @param input.role — filter by role * @param input.type — filter by workflow type * @param input.subtype — filter by subtype * @param input.priority — filter by priority (1–4) * @param input.limit — max results (default: 50) * @param input.offset — pagination offset * @param input.sort_by — column to sort by * @param input.order — `asc` or `desc` * @param auth — authenticated user context * @returns `{ status: 200, data: { escalations, total } }` */ export declare function listAvailableEscalations(input: { role?: string; type?: string; subtype?: string; priority?: number; limit?: number; offset?: number; sort_by?: string; order?: string; search?: string; }, auth: LTApiAuth): Promise; /** * List all distinct escalation type values. * * @returns `{ status: 200, data: { types: string[] } }` */ export declare function listDistinctTypes(): Promise; /** * Get aggregate escalation statistics scoped to the user's roles. * * @param input.period — time window (`1h`, `24h`, `7d`, `30d`) * @param auth — authenticated user context * @returns `{ status: 200, data: { pending, claimed, created, resolved, by_role, by_type } }` */ export declare function getEscalationStats(input: { period?: string; }, auth: LTApiAuth): Promise;