type Primitives = string | number | boolean | undefined | null; type JSONAble = Primitives | Primitives[] | { [k: string]: JSONAble } | JSONAble[]; type Dict = Record; type Nullable = T | null; type APIAnswer = { count: number; next: Nullable; previous: Nullable; results: T[]; }; type ErrorBase = { error: string; }; type APIError = { exception: string; netbox_version: string; python_version: string; } & ErrorBase; type APIObjectBase = { id: number; display?: string; name: string; url: string; [k: string]: JSONAble; }; type APIKeyPair = { public_key: string; private_key: string; }; type APIReference = { id: number; name: string; slug: string; url: string; _depth: number; }; type APISecret = { assigned_object: APIObjectBase; assigned_object_id: number; assigned_object_type: string; created: string; custom_fields: Record; display: string; hash: string; id: number; last_updated: string; name: string; plaintext: Nullable; role: APIObjectBase; tags: number[]; url: string; }; type JobResultLog = { message: string; status: 'success' | 'warning' | 'danger' | 'info'; }; type JobStatus = { label: string; value: 'completed' | 'failed' | 'errored' | 'running'; }; type APIJobResult = { completed: string; created: string; data: { log: JobResultLog[]; output: string; }; display: string; id: number; job_id: string; name: string; obj_type: string; status: JobStatus; url: string; user: { display: string; username: string; id: number; url: string; }; }; type APIUserConfig = { tables: { [k: string]: { columns: string[]; available_columns: string[] } }; [k: string]: unknown; }; type LLDPInterface = { parent_interface: string | null; remote_chassis_id: string | null; remote_port: string | null; remote_port_description: string | null; remote_system_capab: string[]; remote_system_description: string | null; remote_system_enable_capab: string[]; remote_system_name: string | null; }; type LLDPNeighborDetail = { get_lldp_neighbors_detail: { [interface: string]: LLDPInterface[] }; }; type DeviceConfig = { get_config: { candidate: string; running: string; startup: string; }; }; interface ObjectWithGroup extends APIObjectBase { group: Nullable; } declare const messages: string[]; type FormControls = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;