export interface EndpointDeviceSettings { nickname: string; revision: number; } export declare function getEndpointDeviceSettings(principalId: string): EndpointDeviceSettings | undefined; /** Compare and swap; revision zero means settings have not been created yet. */ export declare function renameEndpointDevice(principalId: string, nickname: string, expectedRevision: number): EndpointDeviceSettings | undefined;