export interface IWritableToken { read(): string; write(newValue: string): Promise; } export declare type Token = string | IWritableToken; export declare function read(token: Token): string; export declare function write(token: Token, newValue: string): Promise;