export type SourceRuleKind = 'npm' | 'git' | 'url'; export type SourceRuleSelectorType = 'all' | 'package' | 'scope' | 'origin' | 'origin-path' | 'git-owner' | 'git-repository'; export interface SourceRule { readonly raw: string; readonly kind: SourceRuleKind; readonly selector: string; readonly selectorType: SourceRuleSelectorType; readonly destination: string; readonly specificity: number; } export declare function parseSourceRule(raw: string): SourceRule; export declare function normalizeSourceRules(values: string | SourceRule | readonly (string | SourceRule)[]): readonly SourceRule[];