@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
14 lines (13 loc) • 399 B
TypeScript
export type DeviceAuthEntry = {
token: string;
role: string;
scopes: string[];
updatedAtMs: number;
};
export type DeviceAuthStore = {
version: 1;
deviceId: string;
tokens: Record<string, DeviceAuthEntry>;
};
export declare function normalizeDeviceAuthRole(role: string): string;
export declare function normalizeDeviceAuthScopes(scopes: string[] | undefined): string[];