import Component from '@teambit/legacy/dist/consumer/component';
export declare function getScopeComponent({ id, allVersions, scopePath, showDependents, showDependencies, loadScopeFromCache, }: {
    id: string;
    allVersions?: boolean | null;
    scopePath?: string | null;
    showDependents?: boolean;
    showDependencies?: boolean;
    loadScopeFromCache?: boolean;
}): Promise<{
    component: Component[] | Component;
}>;
