/** * Showable is a structure that indicates that an instance can be converted to a * string. * * @module Showable * @since 2.0.0 */ import "./_dnt.polyfills.js"; import type { Hold } from "./kind.js"; /** * A Showable structure has the method show. * * @since 2.0.0 */ export interface Showable extends Hold { readonly show: (value: U) => string; } /** * @since 2.10.0 */ export declare function struct(shows: { [K in keyof A]: Showable; }): Showable<{ readonly [K in keyof A]: A[K]; }>; /** * @since 2.10.0 */ export declare const tuple: (...shows: { [K in keyof A]: Showable; }) => Showable>;