/** * Source-app passthrough for `quickback/apps/`. * * Anything under `/quickback/apps//` is copied verbatim * into `/src/apps//`, preserving directory structure. The * compiler never sees these files — they land alongside the SPA shells it * emits (`cms/`, `account/`). * * Why a separate folder from `quickback/public/`: `public/` is for static * binary assets (logos, fonts, OG images). This folder is for hand-authored * TypeScript / JavaScript / TSX — companion mini-SPAs (e.g. `m/`, `admin/`). * Different conventions, different ergonomics: this lane additionally prunes * `node_modules/`, `dist/`, `build/` and friends so a casual `bun install` * inside an app folder doesn't drag the world into the worker bundle. * * The copy mechanics for both lanes live in `copy-passthrough.ts`; this * module supplies the folder name, the prune set, and the error type. */ import { type PassthroughCollision, type PassthroughOptions, type PassthroughResult } from './copy-passthrough.js'; export type CopySourceAppsOptions = PassthroughOptions; export type CopySourceAppsResult = PassthroughResult; export declare class SourceAppCollisionError extends Error { readonly collisions: Array<{ sourcePath: string; manifestPath: string; }>; constructor(collisions: PassthroughCollision[]); } /** * Copy `/quickback/apps/**` into `/src/apps/**`. * * Returns `{ copied: 0 }` when the source folder is absent — apps/ is an * opt-in convention, not a required directory. */ export declare function copySourceApps(options: CopySourceAppsOptions): Promise; //# sourceMappingURL=copy-source-apps.d.ts.map