/** * vapor-chamber - the library's own command names. * * A name with `$` is the library's (`$reset`, `$undo`): an app * registering one is refused, the bus and the outbox keep such a command * local. Its own module so the store reaches it without importing the bus. */ /** @internal A `$` name marks a handler the library registered: handled locally, never sent or queued (no backend contract defines it). */ export declare const _isLibraryAction: (action: string) => boolean; /** @internal Register one of the library's own `$` commands: `fn` is the register() call. */ export declare function _asLibrary(fn: () => T): T; /** @internal `_asLibrary` for one register() call, with no closure to build: a store's `$reset` per creation. */ export declare function _registerAsLibrary(bus: { register(action: string, handler: any, options?: O): () => void; }, action: string, handler: unknown, options?: O): () => void; /** @internal Inside `_asLibrary`. */ export declare const _isLibraryRegister: () => boolean; /** * @internal Register the library's own command under a name the app chose (a * form's `Set`, history's `undoAction`): local under any transport, on * either bus. The name is still the app's, so a `$` in it is refused. * tests/library-commands-under-transport.test.ts. */ export declare function _registerLocal(bus: { register(action: string, handler: H): () => void; }, action: string, handler: H): () => void; /** @internal Inside `_registerLocal`. */ export declare const _registersLocal: () => boolean; //# sourceMappingURL=library-names.d.ts.map