openpencil/packages/core/src/global.d.ts
Danila Poyarkov 1415640718 refactor(core): centralize Base64 encoding
- Add portable byte and Unicode Base64 helpers backed by js-base64

- Replace manual binary-string, Buffer, and unsupported typed-array conversions

- Cover binary, Unicode, URL-safe, malformed, and large inputs
2026-07-28 08:27:22 +03:00

22 lines
341 B
TypeScript

interface FontData {
family: string
fullName: string
postscriptName: string
style: string
blob(): Promise<Blob>
}
interface Window {
queryLocalFonts?(): Promise<FontData[]>
}
declare module '*.md' {
const content: string
export default content
}
declare module '*?raw' {
const content: string
export default content
}