import { Controller } from 'tsoa';
import { ManifestService, ComponentSetService, ComponentFunctionService, ManifestV1, ComponentSet, ManifestModel, Manifest, Headers } from '@squiz/component-lib';
import { type Request as ExpressRequest } from 'express';
export declare class StaticController extends Controller {
    protected manifestService: ManifestService;
    protected componentSetService: ComponentSetService;
    protected componentFunctionService: ComponentFunctionService;
    constructor(manifestService: ManifestService, componentSetService: ComponentSetService, componentFunctionService: ComponentFunctionService);
    getPreview(namespace: string, componentName: string, version: string, staticFile: string, req: ExpressRequest, _componentSet?: string, _previewKey?: string): Promise<void>;
    private setResponseHeaders;
    protected getHeadersForInputType(_componentSet: string | undefined, _previewKey: string | undefined, manifest: Manifest): Promise<Headers>;
    protected getValidatedSet(_componentSet: string, manifest: ManifestV1): Promise<ComponentSet>;
    protected getValidatedPreviewDefinition(_previewKey: string, manifestModel: ManifestModel): Promise<import("packages/dx-json-schema-lib/src/manifest/v1/v1").PreviewDefinition>;
}
