export function withId(id: string, work: () => R): R; export function withId(work: () => R): R; export function bindId(id: string, work: W): W; export function bindId(work: W): W; export function getId(): string | undefined; export function setId(id: string): undefined;