import type { PiletLifecycleHooks, Pilet, PiletApiCreator } from './types';
/**
 * Sets up the evaluated pilets to become integrated pilets.
 * @param createApi The function to create an API object for a pilet.
 * @param pilets The available evaluated app pilets.
 * @param hooks The API hooks to apply.
 * @returns The integrated pilets.
 */
export declare function runPilets(createApi: PiletApiCreator, pilets: Array<Pilet>, hooks?: PiletLifecycleHooks): Promise<Pilet[]>;
/**
 * Sets up an evaluated pilet to become an integrated pilet.
 * @param createApi The function to create an API object for the pilet.
 * @param pilet The available evaluated pilet.
 * @param hooks The API hooks to apply.
 * @returns The integrated pilet.
 */
export declare function runPilet(createApi: PiletApiCreator, pilet: Pilet, hooks?: PiletLifecycleHooks): Promise<import("./types").SinglePilet | import("./types").MultiPilet>;
