UNPKG

logsdx

Version:

<div align="center"><img alt="logsdx" width="300" src="https://github.com/user-attachments/assets/cc2a3b55-5bfd-44e8-a330-bfa146b50059" /></div>

33 lines (32 loc) 997 B
import { z } from "zod"; export declare const interactiveConfigSchema: z.ZodObject<{ theme: z.ZodString; outputFormat: z.ZodEnum<["ansi", "html"]>; preview: z.ZodBoolean; }, "strip", z.ZodTypeAny, { theme: string; outputFormat: "ansi" | "html"; preview: boolean; }, { theme: string; outputFormat: "ansi" | "html"; preview: boolean; }>; export type InteractiveConfig = z.infer<typeof interactiveConfigSchema>; export declare const themeChoiceSchema: z.ZodObject<{ name: z.ZodString; value: z.ZodString; description: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; name: string; description: string; }, { value: string; name: string; description: string; }>; export type ThemeChoice = z.infer<typeof themeChoiceSchema>; export declare function runInteractiveMode(): Promise<InteractiveConfig>; export declare function selectThemeInteractively(): Promise<string>; export declare function showThemeList(): Promise<void>;