import { CliApplication, CommandCompose, ICommand, CliContext, CliAppMiddleware } from '../cli/index.js'; export type AstadLoadable = (astad: Astad) => any; export declare class Astad { app: CliApplication; constructor(); use(fn: CliAppMiddleware): void; load(loadable: AstadLoadable): any; register(cmd: ICommand): void; handle(): Promise; } export { CommandCompose as AstadCompose }; export { CliContext as AstadContext };