import { type Project, type SupportedArchitectures } from '@pnpm/types'; export type { Project }; export type WorkspacePackagesPatterns = 'all-packages' | string[]; export interface FindWorkspacePackagesOpts { /** * An array of globs for the packages included in the workspace. * * In most cases, callers should read the pnpm-workspace.yml and pass the * "packages" field. */ patterns?: string[]; engineStrict?: boolean; packageManagerStrict?: boolean; packageManagerStrictVersion?: boolean; nodeVersion?: string; sharedWorkspaceLockfile?: boolean; supportedArchitectures?: SupportedArchitectures; } export declare function findWorkspacePackages(workspaceRoot: string, opts?: FindWorkspacePackagesOpts): Promise; export declare function findWorkspacePackagesNoCheck(workspaceRoot: string, opts?: { patterns?: string[]; }): Promise;