export interface GitSource { type: 'git'; url: string; } export interface GitHubSource { type: 'github'; owner: string; repo: string; url: string; } export interface LocalSource { type: 'local'; path: string; } export interface MarketplaceRefSource { type: 'marketplace-ref'; marketplace: string; plugin: string; } export type ParsedSource = GitSource | GitHubSource | LocalSource | MarketplaceRefSource; export declare function expandHome(input: string): string; export declare function assertHttpsUrl(url: string): void; export declare function parseSource(input: string): ParsedSource;