import { NFCDefinition } from "./definitions.js"; /** * A simplified API for common NFC reading operations */ export declare class SimpleNfc { private nfc; private scanCallback; constructor(); /** * Check if NFC is available on this device/browser */ isAvailable(): Promise; /** * Start scanning for NFC tags with a simplified callback * The callback will receive text content and content type ('text', 'url', or 'other') */ startReading(callback: (content: string, type: string) => void): Promise; /** * Stop scanning for NFC tags */ stopReading(): Promise; /** * Write a simple text to an NFC tag */ writeText(text: string): Promise; /** * Write a URL to an NFC tag */ writeUrl(url: string): Promise; /** * Read a simple NFC tag */ read(): NFCDefinition; }