import type { ServerOptions } from '@janux/server'; type Loader = (file: string) => Promise>; export declare function channelFiles(channelsDir: string | undefined): string[]; /** `/ops/inbox.ts` → `ops/inbox`, posix on every platform: the name is a URL. */ export declare function channelName(channelsDir: string, filePath: string): string; /** Discovers `src/channels/` and loads it; an app without the directory mounts nothing. */ export declare function channelServerOptions(app: { channelsDir?: string; }, load: Loader): Promise; export {};