import type { Build, BuildDef, BuildProps, BuildTasks, ThisBuild } from './types.ts'; /** Compile a {@link BuildDef | build definition} into a {@link Build} */ export declare function plugjs>(def: D & ThisType): Build; /** @deprecated Please use the new {@link plugjs} export */ export declare const build: typeof plugjs; /** Check if the specified build is actually a {@link Build} */ export declare function isBuild(build: any): build is Build>; /** Invoke a number of tasks in a {@link Build} */ export declare function invokeTasks(build: B, tasks: readonly BuildTasks[], props?: BuildProps): Promise; /** Make sure that the specified hooks run _before_ the given tasks */ export declare function hookBefore(build: B, taskName: string & T & BuildTasks, hooks: readonly (string & Exclude, T>)[]): void; /** Make sure that the specified hooks run _after_ the given tasks */ export declare function hookAfter(build: B, taskName: string & T & BuildTasks, hooks: readonly (string & Exclude, T>)[]): void; //# sourceMappingURL=build.d.ts.map