import type { PluginManifest } from '../../../../plugins/sdk/types'; import type { RegistryPlugin } from '../types'; /** What the Publish button may do for one mounted plugin, given what the registry already holds. */ export type PublishState = { kind: 'unpublished'; } | { kind: 'update'; registryVersion: string; } | { kind: 'alreadyPublished'; } | { kind: 'behind'; registryVersion: string; } | { kind: 'taken'; ownerName: string; }; export declare function isPublishState(standing: { kind: string; }): standing is PublishState; export declare function publishState(manifest: PluginManifest, entry: RegistryPlugin | undefined, canActOnAnyPlugin: boolean): PublishState; //# sourceMappingURL=publishState.d.ts.map