import type { RuleModule } from '../../types'; /** * Validate that all packages use allowed URL schemes/protocols. * Prevents attacks using unexpected schemes like file://, data://, * git+http://, or other protocols that might bypass security policies. * * Options: * - allowedSchemes: Array of allowed URL schemes (default: ['https:', 'git+https:', 'git+ssh:']) * * Example config: * ```ts * pluginRules: { * 'lockfile/validate-scheme': ['error', { allowedSchemes: ['https:', 'git+ssh:'] }] * } * ``` */ export declare const validateScheme: RuleModule;