import { Arch } from "builder-util";
import { SnapOptions } from "../../options/SnapOptions";
import { SnapCore } from "./SnapTarget";
import { SnapcraftYAML } from "./snapcraft";
export declare class SnapCoreLegacy extends SnapCore<SnapOptions> {
    private isUseTemplateApp;
    defaultPlugs: string[];
    private replaceDefault;
    createDescriptor(arch: Arch): Promise<SnapcraftYAML>;
    buildSnap(props: {
        snap: any;
        appOutDir: string;
        stageDir: string;
        snapArch: Arch;
        artifactPath: string;
    }): Promise<void>;
    private normalizePlugConfiguration;
    private isBrowserSandboxAllowed;
    private archNameToTriplet;
}
