import type { LTApiResult, LTApiAuth } from '../../types/sdk'; /** * Create a standalone escalation (not tied to a workflow). * * Useful for manual work items, support tickets, or approval requests * that originate outside the durable workflow engine. The caller must * hold the target role or be a superadmin. * * @param input.type — escalation category (e.g. `"support"`, `"approval"`) * @param input.subtype — subcategory for finer routing * @param input.role — role responsible for resolving this escalation * @param input.description — human-readable summary * @param input.priority — 1 (critical) through 4 (low), default 2 * @param input.envelope — serialized context for the resolver * @param input.metadata — arbitrary key-value data (e.g. signal_routing) * @param input.escalation_payload — serialized payload for the resolver UI * @param auth — authenticated user context (must hold target role or be superadmin) * @returns `{ status: 201, data: }` */ export declare function createEscalation(input: { type: string; subtype?: string; role: string; description?: string; priority?: number; envelope?: string; metadata?: Record; escalation_payload?: string; }, auth: LTApiAuth): Promise;