export declare type Manifest = (Record<string, unknown> & {
    packages: any;
    workspaces: any;
}) | null;

/**
 * get yarn workspace root dir
 *
 * @param cwd - work dir
 * @returns result - workspace root dir
 */
export declare function yarnWorkspaceRoot(cwd?: string): Promise<string | null>;

/**
 * get yarn workspace root dir sync function
 *
 * @param cwd - work dir
 * @returns result - workspace root dir
 */
export declare function yarnWorkspaceRootSync(cwd?: string): string | null;

export { }
