export declare const ENV_VAR_KEY_REGEX: RegExp; declare const __brand: unique symbol; type Brand = { readonly [__brand]: B; }; /** A DeviceSDK project ID. Use {@link asProjectId} to construct one from a string. */ export type ProjectId = string & Brand<"ProjectId">; /** A DeviceSDK device ID, scoped to a project. Use {@link asDeviceId}. */ export type DeviceId = string & Brand<"DeviceId">; /** A DeviceSDK script version ID. Use {@link asScriptId}. */ export type ScriptId = string & Brand<"ScriptId">; /** A DeviceSDK API or CLI token. Use {@link asTokenId}. */ export type TokenId = string & Brand<"TokenId">; /** Project ID validator: 3..64 chars, lowercase alnum + hyphen, must start with a letter. */ export declare const PROJECT_ID_REGEX: RegExp; /** Device ID validator: same shape as project IDs. */ export declare const DEVICE_ID_REGEX: RegExp; /** Validate and brand a string as a {@link ProjectId}. Throws on invalid input. */ export declare const asProjectId: (s: string) => ProjectId; /** Validate and brand a string as a {@link DeviceId}. Throws on invalid input. */ export declare const asDeviceId: (s: string) => DeviceId; /** Brand a string as a {@link ScriptId}. No format check (server-assigned UUIDs). */ export declare const asScriptId: (s: string) => ScriptId; /** Brand a string as a {@link TokenId}. No format check (opaque). */ export declare const asTokenId: (s: string) => TokenId; /** * Virtual GPIO that maps to the onboard LED on every supported board. * * - Pico W: WiFi-chip LED (not a real GPIO) * - Pico 2W: GPIO 25 * - ESP32-C3 DevKitM-1: WS2812 on GPIO 8 * - ESP32-C61 DevKitC-1: WS2812 on GPIO 5 * * Use this constant in `setGpioState` to keep your code portable across * targets — the firmware translates it to the right physical pin. * * @example * await this.env.DEVICE.setGpioState(OnboardLED, "high"); */ export declare const OnboardLED: 99; export {}; //# sourceMappingURL=identity.d.ts.map