*/ public function unknown_variables( string $text ): array; /** * Whether a text contains variables of this plugin. * * @param string $text Text. */ public function has_variables( string $text ): bool; /** * Stored focus keyword after setting a new primary keyword (secondary keywords are kept * where the plugin supports several). * * @param string|null $current Current stored value. * @param string $keyword New primary keyword. */ public function focus_after( ?string $current, string $keyword ): string; /** * Primary focus keyword of a stored value ('' = none). * * @param string|null $value Stored value. */ public function focus_primary( ?string $value ): string; }