import { RuntimeComponentSet } from '@squiz/component-lib';
import { ExecuteComponentTask } from '../../component-runner/ExecuteComponentTask';
type ComponentReturn = string | object;
export declare class ComponentFixture {
    static fixtureRootDirectory: string | undefined;
    static namespace: string;
    protected static getFixtureRootDirectory(): string;
    static setupFullComponentDirectory(returnObj: ComponentReturn, { raw }?: {
        raw?: boolean | undefined;
    }): Promise<{
        fixtureDirectory: string;
        componentDirectory: string;
        version: string;
        manifest: import("packages/dx-json-schema-lib/src/manifest/v1/v1").ComponentManifest;
        componentName: string;
    }>;
    static new(returnObj: string | object, { raw, environment, set }?: {
        raw?: boolean | undefined;
        environment?: {
            [k: string]: unknown;
            name: string;
            required?: boolean | undefined;
        }[] | undefined;
        set?: RuntimeComponentSet | undefined;
    }): Promise<ExecuteComponentTask>;
    static updateComponent(component: ExecuteComponentTask, output: string | object): Promise<ExecuteComponentTask>;
    private static createFixtureDirectory;
    private static createVersionDirectory;
    private static createManifest;
}
export {};
