import type { BluetoothRemoteGATTCharacteristicLike } from '@dg-kit/protocol'; import type { PluginBlecApi } from './plugin-blec.js'; /** * Adapts plugin-blec's flat `(uuid, bytes)` API to the * `BluetoothRemoteGATTCharacteristicLike` interface that * `@dg-kit/protocol`'s adapters consume. The Coyote protocol layer never * touches transport-specific types — it sees only this interface. */ export declare class PluginBlecCharacteristic extends EventTarget implements BluetoothRemoteGATTCharacteristicLike { readonly uuid: string; private readonly api; private readonly serviceUuid; private readonly address; value: DataView | null; private notifying; /** * `address` scopes every plugin-blec call this instance makes to one * device. Required (not optional) on purpose: plugin-blec's address-less * overloads now throw `AmbiguousDevice` once 2+ devices are connected, and * this class is always constructed by a per-device `createGattShim()` that * already knows its address — there's no legitimate call site here that * should fall back to the ambiguous default. */ constructor(uuid: string, api: PluginBlecApi, serviceUuid: string, address: string); writeValueWithoutResponse(value: ArrayBufferView | ArrayBuffer): Promise; writeValueWithResponse(value: ArrayBufferView | ArrayBuffer): Promise; writeValue(value: ArrayBufferView | ArrayBuffer): Promise; readValue(): Promise; startNotifications(): Promise; stopNotifications(): Promise; } //# sourceMappingURL=characteristic.d.ts.map