UNPKG

@intlayer/chokidar

Version:

Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.

42 lines 2.16 kB
//#region src/installSkills/index.d.ts /** * Metadata for each available documentation skill. */ declare const SKILLS_METADATA: { readonly Config: "Intlayer configuration documentation"; readonly Content: "Reference for all Intlayer content node types (t, enu, etc.)"; readonly Usage: "How to use Intlayer in your project"; readonly CLI: "Intlayer CLI commands and usage"; readonly Compiler: "Intlayer Compiler setup and usage for automatic content extraction without .content files"; readonly RemoteContent: "How to use Intlayer with Remote/CMS/Server-side content"; readonly NextJS: "Next.js-specific usage (Server & Client components)"; readonly React: "React-specific syntax and hooks usage"; readonly Vue: "Vue-specific composables and syntax"; readonly Svelte: "Svelte-specific stores and syntax"; readonly Angular: "Angular-specific syntax and Injectable Function usage"; readonly Preact: "Preact-specific syntax and hooks usage"; readonly Solid: "Integrates Intlayer internationalization with SolidJS components. Use when the user asks to \"setup SolidJS i18n\", use the \"useIntlayer\" hook in Solid, or manage locales in a SolidJS application."; readonly Astro: "Astro-specific usage and getIntlayer"; }; type Skill = keyof typeof SKILLS_METADATA; declare const SKILLS: Skill[]; declare const getInitialSkills: (deps: Record<string, string>) => (keyof typeof SKILLS_METADATA)[]; interface PlatformMetadata { label: string; dir: string; check?: () => boolean; } /** * Metadata and configuration for each supported platform. */ declare const PLATFORMS_METADATA: Record<string, PlatformMetadata>; type Platform = keyof typeof PLATFORMS_METADATA; declare const PLATFORMS: Platform[]; /** * Installs skills using the "Agent Skills" directory standard. * Standard: <PROJECT_ROOT>/<CONFIG_DIR>/skills/<SKILL_NAME>/SKILL.md */ declare const installSkills: (projectRoot: string, platform: Platform, skills: Skill[]) => Promise<string>; //#endregion export { PLATFORMS, PLATFORMS_METADATA, Platform, PlatformMetadata, SKILLS, SKILLS_METADATA, Skill, getInitialSkills, installSkills }; //# sourceMappingURL=index.d.ts.map