build: add precompiled CLI distribution
This commit is contained in:
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
export interface DeckMetadata {
|
||||
slug: string;
|
||||
entry: string;
|
||||
directory: string;
|
||||
title: string;
|
||||
description: string;
|
||||
author: string;
|
||||
date: string;
|
||||
tags: string[];
|
||||
cover?: string;
|
||||
draft: boolean;
|
||||
}
|
||||
export interface ValidationIssue {
|
||||
level: 'error' | 'warning';
|
||||
file: string;
|
||||
message: string;
|
||||
}
|
||||
export declare function discoverDecks(cwd?: string, slidesDir?: string): Promise<DeckMetadata[]>;
|
||||
export declare function readDeck(entry: string): Promise<DeckMetadata>;
|
||||
export declare function resolveDeck(input: string | undefined, cwd?: string, slidesDir?: string): Promise<DeckMetadata>;
|
||||
export declare function validateDeck(deck: DeckMetadata): Promise<ValidationIssue[]>;
|
||||
export declare function extractMarkdownImages(markdown: string): {
|
||||
source: string;
|
||||
attributes: Record<string, string>;
|
||||
}[];
|
||||
export declare function parseAttributes(input: string): Record<string, string>;
|
||||
Reference in New Issue
Block a user