/**
 * Given any file or directory path, walk up to find the nearest package.json
 * and run `linked build` in that package's directory. This is the editor-hook
 * variant of build: the caller knows a file path, we figure out the package.
 *
 * Only rebuilds packages flagged `linkedPackage: true` (or legacy `lincd: true`).
 */
export declare function buildPackageByPath(filePath: string): Promise<void>;
//# sourceMappingURL=build-package.d.ts.map