/** * Parses a comma-separated trigger string into a typed array, filtering against * a valid set and falling back to `defaults` when the input is empty or invalid. * * Used by tooltip and popover to normalise their `trigger` prop values. * * @example * ```ts * const VALID = new Set(['click', 'hover', 'focus'] as const); * parseStringTriggers('hover,focus', VALID, ['click']); // → ['hover', 'focus'] * parseStringTriggers('', VALID, ['click']); // → ['click'] * ``` */ export declare const parseStringTriggers: (value: string | null | undefined, valid: ReadonlySet, defaults: T[]) => T[]; //# sourceMappingURL=parse.d.ts.map