25 lines
845 B
TypeScript
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 };
|
|
};
|