import { PublishContext } from "semantic-release"; //#region src/lib/types.d.ts interface MajorAndMinorPart { major: null | string; minor: null | string; } interface NormalizedPluginConfig { images: string[]; tag: NormalizedPluginConfigTags; } interface NormalizedPluginConfigTags { channel: boolean; latest: boolean; major: boolean; minor: boolean; version: boolean; } interface PluginConfig { images: string | string[]; tag?: { channel?: boolean; latest?: boolean; major?: boolean; minor?: boolean; version?: boolean; }; } type PluginConfigTagKeys = keyof NormalizedPluginConfigTags; interface PublishResponse { channel?: string; name: string; url?: string; } interface TagTask { input: string; output: string; } //#endregion //#region src/lib/index.d.ts declare function copyImage(input: string, output: string): Promise; declare function exec(file: string, args: string[]): Promise; declare function getBaseImage(input: string): string; declare function getMajorAndMinorPart(version: string | undefined): MajorAndMinorPart; declare function getTagTasks(config: NormalizedPluginConfig, context: PublishContext): TagTask[]; declare function getUrlFromImage(image: string): string | undefined; declare function isPreRelease(context: PublishContext): boolean; declare function isRegCtlAvailable(): Promise; declare function parseConfig(config: PluginConfig): NormalizedPluginConfig; declare function publish(pluginConfig: PluginConfig, context: PublishContext): Promise; declare function pushImage(image: string): Promise; declare function tagImage(input: string, output: string): Promise; declare const _default: { publish: typeof publish; }; //#endregion export { type MajorAndMinorPart, type NormalizedPluginConfig, type NormalizedPluginConfigTags, type PluginConfig, type PluginConfigTagKeys, type TagTask, copyImage, _default as default, exec, getBaseImage, getMajorAndMinorPart, getTagTasks, getUrlFromImage, isPreRelease, isRegCtlAvailable, parseConfig, publish, pushImage, tagImage }; //# sourceMappingURL=index.d.mts.map