import type { IPipeline, IPipelineTemplateConfigV2, IPipelineTemplateV2 } from '../../../../domain';
declare enum InheritedItem {
    Triggers = "triggers",
    Notifications = "notifications",
    ParameterConfig = "parameterConfig",
    ExpectedArtifacts = "expectedArtifacts"
}
export declare class PipelineTemplateV2Service {
    static createPipelineTemplate(pipeline: IPipeline, owner: string): IPipelineTemplateV2;
    static isV2PipelineConfig(pipelineConfig: Partial<IPipeline>): boolean;
    static idForTemplate(template: {
        id: string;
        digest?: string;
    }): string;
    static getTemplateVersion({ digest, tag, id }: IPipelineTemplateV2): string;
    static convertTemplateVersionToId(templateVersion: string): string;
    static getPipelineTemplateConfigV2(source: string): IPipelineTemplateConfigV2;
    private static prefixSource;
    static filterInheritedConfig(pipelineConfig: Partial<IPipeline>): Partial<IPipeline>;
    private static schema;
    static inheritedKeys: Set<InheritedItem>;
}
export {};
