export type ToName = T extends string ? T : ''; export declare function toName(value: T): ToName;