uikit/dist/utils.d.ts
Mohamadzadeh 97407cffc0
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Successful in 52s
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Successful in 7s
update utils
2026-10-19 13:30:55 +03:30

25 lines
845 B
TypeScript

export function toFaNumber(value: string | number): string;
export function toFaDigits(value: string | number): string;
export function toEnDigits(value: string | number): string;
export interface ProcessImageOptions {
w?: number;
h?: number;
q?: number;
webp?: boolean;
g?: string;
}
export function processImage(url?: string | null, options?: ProcessImageOptions): string;
export function truncateText(str: string | null | undefined, length: number): string;
export const thinScrollbar: {
scrollbarWidth: "thin";
scrollbarColor: string;
"&::-webkit-scrollbar": { width: string; height: string };
"&::-webkit-scrollbar-track": { background: string };
"&::-webkit-scrollbar-thumb": { backgroundColor: string; borderRadius: string };
"&::-webkit-scrollbar-button": { display: "none"; width: number; height: number };
};