@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
11 lines (10 loc) • 352 B
TypeScript
export type InlineCodeState = {
open: boolean;
ticks: number;
};
export declare function createInlineCodeState(): InlineCodeState;
export type CodeSpanIndex = {
inlineState: InlineCodeState;
isInside: (index: number) => boolean;
};
export declare function buildCodeSpanIndex(text: string, inlineState?: InlineCodeState): CodeSpanIndex;