@ikona/cli
Version:
24 lines (21 loc) • 618 B
text/typescript
import * as svgo from 'svgo';
import { Config } from '../types.mjs';
interface CreateIconContextProps {
outputDir: string;
spriteOutputDir: string;
}
declare const createIconsContext: (config: Omit<Config, "illustrations">) => {
inputDir: string;
outputDir: string;
spriteOutputDir: string;
spriteFilepath: string;
typesDir: string;
typeOutputFilepath: string;
iconsPath: string;
hashPath: string;
shouldOptimize: boolean;
shouldHash: boolean;
force: boolean;
svgoConfig: svgo.Config | undefined;
};
export { type CreateIconContextProps, createIconsContext };