/** * Inline `@include _shared/` directives in `content`. * * Each line matching `@include _shared/` (space after `@include`) is * replaced with the full content of `/_shared/`. * * Security constraints: * - Only paths beginning with `_shared/` are accepted. * - The resolved path must stay within `/_shared/`. * Path traversal attempts are rejected with a warning and the directive * line is dropped. * * If a shared file is missing (ENOENT): * - A warning is written to stderr. * - The include line is removed from the output (not preserved). * - Processing continues for remaining directives. * * Other I/O errors (permission denied, EISDIR, etc.) are re-thrown so the * caller can distinguish them from a simple missing-file case. * * @param skillContext Used in warning messages to identify the skill context. * @param content Raw skill content (may contain @include directives). * @param skillsRoot Root directory containing `_shared/` sub-directory. * @returns The content with directives inlined. */ export declare function inlineIncludes(skillContext: string, content: string, skillsRoot: string): string; //# sourceMappingURL=include-utils.d.ts.map