import type { BaseLibraryDefinition, MonorepoSettingsDefinition, ProjectDefinition } from '#src/schema/index.js'; declare function byId(projectDefinition: ProjectDefinition, id: string): BaseLibraryDefinition; declare function byUniqueTypeOrThrow(projectDefinition: ProjectDefinition, type: string): BaseLibraryDefinition; /** * Given a library config, get the relative directory of the library * * @param libraryConfig The library config * @param monorepoSettings Optional monorepo settings to determine libraries folder location * @returns The directory of the library */ declare function getLibraryDirectory(libraryConfig: BaseLibraryDefinition, monorepoSettings?: MonorepoSettingsDefinition): string; export declare const LibraryUtils: { byId: typeof byId; byUniqueTypeOrThrow: typeof byUniqueTypeOrThrow; getLibraryDirectory: typeof getLibraryDirectory; }; export {}; //# sourceMappingURL=package-utils.d.ts.map