import { ValidationRule } from '../interfaces'; import { PresetOptions } from './types'; /** * Creates a STANDARD preset with sensible defaults for most use cases * * Blocks: * - eval() and Function constructor * - Critical dangerous identifiers (process, require) * - Infinite while/do-while loops * * Allows: * - All loop types except while/do-while * - Async/await * - Constructor and prototype access (with caution) * * @param options - Optional customization for the preset * @returns Array of configured validation rules * * @example * ```typescript * // Standard security * const rules = createStandardPreset(); * * // Standard with API enforcement * const rules = createStandardPreset({ * requiredFunctions: ['callTool'], * functionArgumentRules: { * callTool: { minArgs: 2 } * } * }); * * // Standard but also block window/document * const rules = createStandardPreset({ * additionalDisallowedIdentifiers: ['window', 'document'] * }); * ``` */ export declare function createStandardPreset(options?: PresetOptions): ValidationRule[];