e9888367d1
- Implemented in-house, zero-dependency utility modules in `pi-utils` covering DOM manipulation, markdown parsing, templating, browser automation helpers, and terminal buffers. - Migrated packages across the repository to consume the new internal utilities and `omptype` schema validators instead of external dependencies. - Removed multiple external runtime and development dependencies including Zod, Marked, LRU cache, Turndown, and Puppeteer browser packages.
64 lines
1.1 KiB
TypeScript
64 lines
1.1 KiB
TypeScript
declare module "*.md" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*.txt" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*.py" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*.rb" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*.jl" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*.lark" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*.sh" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*.applescript" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*.bdf" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
// Session-export template assets imported as text (coding-agent src/export/html).
|
|
// No `*.html` declaration: bun-types claims that pattern as HTMLBundle, so the
|
|
// text import casts at the use site instead.
|
|
declare module "*.css" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*/template.js" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module "*.generated.js" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|