$object_ids Object IDs. */ public function prime( array $object_ids ): void; /** * Drops objects from the object cache so the next read comes from the database. * * @since 1.5.0 * * @param list $object_ids Object IDs. */ public function forget( array $object_ids ): void; /** * Returns indexable object IDs greater than a cursor, ascending. * * @since 1.5.0 * * @param int $cursor Return IDs greater than this. * @param list $subtypes Subtypes to include. * @param int $limit Maximum IDs. * @return list Object IDs. */ public function get_ids_after( int $cursor, array $subtypes, int $limit ): array; /** * Counts indexable objects per subtype. * * @since 1.5.0 * * @param list $subtypes Subtypes to count. * @return array Count per subtype; every requested subtype is present. */ public function count_indexable( array $subtypes ): array; /** * Hooks the source's change events to a listener. * * @since 1.5.0 * * @param \WordPress\AI\Embeddings\Sync\Change_Listener $listener The listener. */ public function register_hooks( Change_Listener $listener ): void; }