import type { DefaultLoaderConfig, PiletV0Entry, Pilet } from '../../types';
/**
 * Loads a legacy (v0) or invalid pilet.
 * @param entry The pilet's entry.
 * @param _config The loader configuration.
 * @returns The evaluated pilet that can now be integrated.
 */
export default function loader(entry: PiletV0Entry, _config: DefaultLoaderConfig): Promise<Pilet>;
