import type { OWOXApiClient, OWOXPluginPublication, OWOXPublishPluginInput } from '@owox/api-client'; export type PluginsClient = Pick; export declare const repositoryArg: { repository: import("@oclif/core/interfaces").Arg>; }; export declare const scopeFlag: import("@oclif/core/interfaces").OptionFlag; /** * Selected projects and the wildcard are mutually exclusive. * * Declared `exclusive` so oclif refuses the combination before any request is sent. * The server rejects it as well -- the CLI is not the only client -- but failing here * costs the publisher nothing and explains itself better. */ export declare const audienceFlags: { 'project-id': import("@oclif/core/interfaces").OptionFlag; 'all-projects': import("@oclif/core/interfaces").BooleanFlag; }; export declare function toPublishInput(repository: string, flags: { scope: string; 'project-id'?: string[]; 'all-projects'?: boolean; }): OWOXPublishPluginInput; export declare function publishPlugin(client: PluginsClient, input: OWOXPublishPluginInput): Promise; export declare function unpublishPlugin(client: PluginsClient, input: OWOXPublishPluginInput): Promise; /** * A repository OWOX Data Marts cannot read is the one failure a publisher can actually * fix, and the fix is a URL the server hands back. Everything else stays machine-readable JSON * on stdout, so this hint goes to stderr. */ export declare function installationHint(error: unknown): string | null;