import type { Environment } from "@kosko/env"; export declare function tryRequireComponent(cwd: string, loader: (id: string) => Promise): (id: string) => Promise; export declare function getEnvironmentComponent({ env, cwd, paths: { component } }: Environment, filename: string, { loader }: { loader: (id: string) => Promise; }): Promise; export declare function koskoMigrateLoader(id: string): Promise; export declare function loadYaml(env: Environment, path: string): Promise;