UNPKG

folderkit

Version:

Pixel-perfect macOS folder icons generator for developers.

8 lines (7 loc) 531 B
import type { Options } from '../types'; import type { Processor } from '../types/processor'; import sharp from 'sharp'; export declare const bold: (s: string) => string; export declare const getFolderResource: ({ theme, resolution, }: Pick<Options, "theme" | "resolution">) => Promise<Buffer<ArrayBuffer>>; export declare const pipeProcessors: (input: sharp.SharpInput, ...processors: (Processor | undefined)[]) => Promise<Buffer<ArrayBufferLike>>; export declare const withErrorBoundary: <T>(fn: () => Promise<T>) => Promise<T>;