export type ShortenAddressOptions = { /** Characters kept at the start. Default 6. */ head?: number; /** Characters kept at the end. Default 4. */ tail?: number; /** Default '[...]'. */ separator?: string; /** Values this long or shorter are returned unchanged. Never shorter than the shortened text itself. */ minLength?: number; }; /** 0x1234abcd…ef567890 → 0x1234[...]7890. Works for any address, hash or id. */ export declare const shortenAddress: (value: string | null | undefined, options?: ShortenAddressOptions) => string; export default shortenAddress;